13 Commits

Author SHA1 Message Date
wolfcode
a1d1f50c98 fix(app): optimize system config caching logic
- Add condition to check if value is not empty or zero before caching-Improve cache efficiency by avoiding unnecessary cache writes
2025-08-28 13:32:39 +08:00
wolfcode
3aaf030b89 feat(export): replace php-excel with PhpSpreadsheet for Excel export-Remove php-excel package and related usage
- Add PhpSpreadsheet package and update to latest version
- Implement new exportExcel function using PhpSpreadsheet
- Update admin controller to use new exportExcel function
- Remove redundant code and improve error handling
2025-03-28 12:22:05 +08:00
wolfcode
12b38c7bf5 refactor(admin): optimize log data processing and display
- Update log data serialization and deserialization method
- Improve log data display format in the admin interface- Refactor log model initialization and table suffix handling
- Optimize time model configuration for better timestamp management
2025-03-25 18:08:35 +08:00
wolfcode
c6cc9d4164 feat(common): add support for absolute URLs in __url function
- Implement a check for absolute URLs using filter_var with FILTER_VALIDATE_URL
- If the provided URL is an absolute URL, it is returned as is
- This enhancement allows the __url function to handle both relative and absolute URLs
2024-12-16 13:51:27 +08:00
wolfcode
ea733d0acb feat(admin): 新增 markdown 编辑器支持,integrate EasyMDE markdown editor for admin interface
Introduce the EasyMDE markdown editor into the admin interface, providing enhanced
markdown editing capabilities. This integration caters to users preferring a dedicated
markdown editor with additional features and a streamlined user experience.
2024-09-02 16:09:36 +08:00
wolfcode
96d162d11f 切换编辑器类型时修正了common.php中编辑器样式的分配问题。
根据编辑器类型(ckeditor、wangEditor、ueditor),现在正确地分配了相应的HTML结构。
之前默认分配给wangEditor的div结构,在编辑器类型为ueditor时会出现问题,现在已将其修正为正确的script标签结构。
同时,也对ckeditor的textarea标签进行了样式修正。
2024-07-18 12:40:18 +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
a6fd81b0ed 🚀 202405重置版 2024-05-13 11:16:20 +08:00
wolfcode
1d0b94009f 新增HTML编辑器,优化编辑器调用 2024-04-15 18:25:13 +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
e1c3216904 init 2023-06-15 16:18:27 +08:00