Commit Graph

9 Commits

Author SHA1 Message Date
wolfcode
3d19c8d337 refactor(admin):重构注解获取 upgrade annotations
- Replace Doctrine annotations with PHP 8.1 attributes
- Update annotation classes to use Attribute interface
- Modify attribute usage across multiple controller files
- Update composer.json to use doctrine/annotations ^2.0.0
2025-01-02 17:04:10 +08:00
wolfcode
d62a67aafe refactor(admin): use param instead of post to get request parameters
- In both Admin and Menu controllers, change $request->post('id') to $request->param('id')
- This change improves code consistency and allows for more flexible parameter retrieval
2024-12-17 11:22:01 +08:00
wolfcode
62f591045e refactor(admin): enhance delete method to support custom primary keys
- Update delete method in Curd trait to accept Request parameter
- Add support for deleting multiple records using 'id' parameter
- Improve error handling for non-existent data
2024-12-11 17:00:34 +08:00
wolfcode
a6fd81b0ed 🚀 202405重置版 2024-05-13 11:16:20 +08:00
wolfcode
cf086a7b6c 修改 NodeAnnotation 命名标准 2023-09-04 20:45:38 +08:00
wolfcode
0b607a5c1b Update Admin.php 2023-07-21 01:10:26 +08:00
wolfcode
2b6988cacd Update Admin.php 2023-06-15 19:17:51 +08:00
wolfcode
9f879a61a2 Update Admin.php 2023-06-15 19:17:03 +08:00
wolfcode
e1c3216904 init 2023-06-15 16:18:27 +08:00