Commit Graph

81 Commits

Author SHA1 Message Date
wolfcode
efbf557cc0 fix(admin): ensure CheckAuth is enabled for route verification
Enable CheckAuth in the admin route configuration which was previously
commented out, ensuring that node permissions are validated as expected.
2024-07-19 21:14:28 +08:00
wolfcode
58db4f4277 fix(common): correct spelling of 'selectFields' in Curd.php
Fix misspelling of 'selectFields' option throughout Curd.php, ensuring consistency and
correctness in the command's configuration options.
2024-07-10 11:53:07 +08:00
wolfcode
6b97ca12de feat(admin): add table order sorting functionality
初始化表格排序,js排序操作传递到服务端
2024-07-08 14:57:18 +08:00
wolfcode
df69c2aea4 refactor(admin-model): change MallGoods cate relation from BelongsTo to HasOne
The relationship between MallGoods and MallCate has been updated to reflect a HasOne
association rather than a BelongsTo. This change is reflected in the cate() method
of the MallGoods model, enhancing the flexibility of the model relationships.
2024-07-01 13:51:58 +08:00
wolfcode
5855a97255 Improve category selection in goods management - Simplify HTML structure and recommend a concise coding method for
category selection in both add and edit pages of the mall goods module.
- Modify the corresponding JS file to support the new category display format.
- Refactor controller code to assign categories using a more efficient method.
- Ensure consistent category data processing across all related views.

Note: This change updates the way categories are presented to the admin user,
enhancing usability and maintainability of the goods management system.
2024-06-20 10:23:27 +08:00
wolfcode
88035326a4 refactor(admin): change default editor from ueditor to wangEditor
Due to the recommendation for better performance and user experience,
the default editor in both configuration files and view templates has been
switched from ueditor to wangEditor. The code changes reflect this update by
marking ueditor as '(不建议使用)' (not recommended) and WangEditor as
'(推荐使用)' (recommended). Additionally, the relevant controller file has
been updated to ensure that the correct default editor is loaded based on
the new configuration setting.
2024-06-19 15:30:03 +08:00
wolfcode
df3571534c Adjust the editor_textarea function to allow $detail parameter as nullable
The function signature for `editor_textarea` in common.php has been updated
to accept `$detail` as a nullable string. This change allows the function to handle cases
where `$detail` might not be provided or could be null.

```php
-    function editor_textarea(string $detail, string $name = 'desc', string $placeholder = '请输入'): string
+ function editor_textarea(?string $detail, string $name = 'desc', string $placeholder = '请输入'): string
```
2024-06-18 17:36:23 +08:00
wolfcode
417a834593 feat(curd): 初始化下拉、单选、复选字段的后缀和字段类型定义
在BuildCurd.php中,新增了下拉字段的后缀定义及相关的字段类型数组初始化,同时对单选框和复选框的后缀及字段类型进行了初始化配置。这些改动将有助于更精确地识别和处理不同类型的表单字段。
2024-06-14 15:15:34 +08:00
wolfcode
6dcd0c8d1f fix: 修复自动生成页面时获取表字段注释匹配失效 2024-06-07 11:35:46 +08:00
wolfcode
1071c7e1d2 Update Ajax.php 2024-06-06 16:58:41 +08:00
wolfcode
40256d3d4b Update welcome.html 2024-05-23 17:38:37 +08:00
wolfcode
9d61503ea6 Update Curd.php 2024-05-14 15:23:40 +08:00
wolfcode
a6fd81b0ed 🚀 202405重置版 2024-05-13 11:16:20 +08:00
wolfcode
41ed834201 Update: 百度编辑器上传相关 2024-05-08 11:00:26 +08:00
wolfcode
e234385761 Update CurdGenerate.php 2024-05-08 10:59:49 +08:00
wolfcode
b1c9e8d77e Update Install.php 2024-04-28 10:09:02 +08:00
wolfcode
1d0b94009f 新增HTML编辑器,优化编辑器调用 2024-04-15 18:25:13 +08:00
wolfcode
79182aa90a Update BuildCurd.php 2024-03-24 18:57:18 +08:00
wolfcode
1fd97f49a9 安装程序逻辑修改 2024-01-13 20:50:58 +08:00
wolfcode
6939bb18f7 优化CURD生成,支持不带表前缀 2023-12-10 12:16:28 +08:00
wolfcode
959fa6687c 优化CURD可视化操作 2023-12-01 00:03:31 +08:00
wolfcode
83165c403c Update CurdGenerate.php 2023-11-30 18:29:49 +08:00
wolfcode
942ce7c941 演示环境优化 2023-11-30 18:27:43 +08:00
wolfcode
daa543f951 CURD可视化操作 2023-11-30 12:54:45 +08:00
wolfcode
f54e09b108 编辑器兼容curd自动生成 2023-11-20 12:49:20 +08:00
wolfcode
0bd1ec9d04 编辑器兼容curd自动生成 2023-11-20 12:43:05 +08:00
wolfcode
646ccde5fa 简化Textarea写法 2023-11-19 11:16:13 +08:00
wolfcode
0a361f674f Update edit.html 2023-11-17 22:11:18 +08:00
wolfcode
ff8b20a4b9 Update Ajax.php 2023-11-11 11:23:51 +08:00
wolfcode
4c587572f0 Update SystemLog.php 2023-11-07 20:03:02 +08:00
wolfcode
17dad9a9f6 Update SystemLog.php 2023-11-07 17:29:33 +08:00
wolfcode
7d89af4291 日志获取注解标题 2023-11-07 17:23:22 +08:00
wolfcode
67f0c4ce53 Create Index.php 2023-11-07 11:10:05 +08:00
wolfcode
4ff604023a Delete Index.php 2023-11-07 11:09:53 +08:00
wolfcode
6d1ebd8b77 Create Index.php 2023-11-07 10:43:56 +08:00
wolfcode
89876bfd9e 自定义登录页背景图 2023-10-27 22:39:10 +08:00
wolfcode
8d620bfcb5 Update Ajax.php 2023-10-10 12:57:24 +08:00
wolfcode
c3db63784a fix 文本编辑器 2023-10-10 12:47:02 +08:00
wolfcode
5f5fb6d322 新增文本编辑器选择 2023-10-10 00:26:47 +08:00
wolfcode
467f397712 演示环境操作提示 2023-09-15 23:38:12 +08:00
wolfcode
5b085c4cb4 新增log日志导出 2023-09-15 23:31:14 +08:00
wolfcode
275359a443 新增七牛云上传 2023-09-15 22:49:58 +08:00
wolfcode
3a4134a275 Update BuildCurd.php 2023-09-07 13:45:17 +08:00
wolfcode
986af603e3 Update BuildCurd.php 2023-09-07 13:28:27 +08:00
wolfcode
717e10f3e5 Update index.html 2023-09-07 01:58:50 +08:00
wolfcode
831d241659 Update Uploadfile.php 2023-09-07 01:58:47 +08:00
wolfcode
f0cb6b251c Update Config.php 2023-09-07 01:58:44 +08:00
wolfcode
e20e816816 新增OSS,COS上传 2023-09-06 18:19:28 +08:00
wolfcode
cf086a7b6c 修改 NodeAnnotation 命名标准 2023-09-04 20:45:38 +08:00
wolfcode
a4e0842a2d Update index.html 2023-08-30 22:13:38 +08:00