66 Commits

Author SHA1 Message Date
邹景立
34104dad22 Update plugin headers and add rewrite-model script
Replace header text "Payment Plugin for ThinkAdmin" with "ThinkAdmin Plugin for ThinkAdmin" across project files (configs, controllers, plugins, php-cs-fixer, etc.) to unify branding. Add a new composer script "rewrite-model" to regenerate models and run php-cs-fixer. Also apply a minor newline fix in .copilot-commit-message-instructions.md.
2026-02-01 14:24:36 +08:00
邹景立
63523902db style: 为插件新增 .php-cs-fixer 配置
在多个插件目录(包括 plugin/think-library 及多个 think-plugs-*)新增 .php-cs-fixer.php 文件以统一 PHP 代码风格和头部注释。配置启用严格类型声明、并行运行、常用规则集(@PSR2/@Symfony/@PhpCsFixer 等)以及若干自定义规则,便于代码格式统一与自动修复;同时调整了 .copilot-commit-message-instructions.md 的换行样式。
2026-02-01 14:18:47 +08:00
邹景立
987ad41765 fix: Add .php-cs-fixer.php and update many files
Add PHP CS Fixer configuration (.php-cs-fixer.php) to enforce coding style and apply corresponding updates across the codebase. Numerous plugins (think-library and many think-plugs-*) and core config files (cache, database, phinx, worker) were updated along with controllers, services, models, storage adapters, helpers and tests to conform to style fixes and minor compatibility/refactors.
2026-02-01 02:01:37 +08:00
邹景立
6b3e985747 fix: Use BC Math for payments; fix wemall; add docs
Convert monetary/integral fields to string and switch arithmetic to BC Math to avoid floating-point errors; adjust return types to strings where appropriate (Balance, Integral, PaymentUsageTrait, IntegralPayment). Add input validation and safer comparisons in payment checks. Fix wemall logic and typos (early return for canceled/refunded orders, rename/logic fixes in UserRebate, initialize temporary $code variables, correct timestamp field name, adjust reward calculations to use bcmath, change wRebate signature). Add a database migration to enforce constraints, add new columns and indexes for wemall and payment tables. Also add business-feature documentation blocks across multiple plugin README files and update the project README.
2026-02-01 01:30:19 +08:00
邹景立
39f021fd88 fix: 升级 layui 版本到 2.13.3 2026-01-01 11:30:12 +08:00
Anyon
110d339a56 fix: 更新 layui 版本到 2.13.2 2025-11-26 18:00:07 +08:00
Anyon
0297d3dfd5 fix: 更新layui版本到 2.13.0 2025-10-24 13:42:47 +08:00
Anyon
9ebdd2d7aa fix: 更新 layui 版本到 v2.12.0 2025-09-30 16:07:22 +08:00
Anyon
0c057fedb3 fix: 更新 layui 版本到 2.11.6 2025-09-06 16:23:52 +08:00
Anyon
daedce4b9b fix: 更新 layui 版 2.11.5 2025-07-30 08:35:32 +08:00
Anyon
b6b72371e6 fix: 更新 layui 版到 2.11.4 2025-07-03 09:18:52 +08:00
邹景立
861b299edb fix: 更新登录页面样式 2025-06-13 14:19:58 +08:00
邹景立
9b0d2b0426 fix: 更新 layui 版本到 2.11.2 2025-05-16 08:23:47 +08:00
邹景立
77157ba79b fix: 更新 layui 版本为 2.11.1 2025-05-06 23:54:47 +08:00
邹景立
8fe550f83f fix: 样式扩展增加显示商品属性的方法 2025-05-03 12:36:23 +08:00
邹景立
324adce37e fix: 优化任务进度样式 2025-05-03 12:02:40 +08:00
邹景立
c18a05d05b fix: 升级 layui 版到 2.11.0 2025-05-03 12:02:17 +08:00
邹景立
37db1bdda9 批量更新版权注释 2025-04-10 21:52:11 +08:00
邹景立
84e50b6c6b fix: 调整菜单策略,展示菜单组时收缩其他菜单组 2025-04-10 00:22:20 +08:00
邹景立
51d47113cb fix: 更新后台样式 2025-04-05 11:10:48 +08:00
邹景立
82b06f5932 fix: 优化弹层列表的默认样式 2025-04-05 10:56:05 +08:00
邹景立
520c6bce5d fix: 更新最新的省市区数据 2025-04-02 00:11:14 +08:00
邹景立
5e8aa8845a
Merge pull request #7 from liupengfeicode/master
完善data-tips-text支持自定义颜色data-tips-color
2025-03-31 23:03:27 +08:00
邹景立
1c2b4a344c fix: 升级 layui 版本到 2.10.3 2025-03-31 22:46:14 +08:00
邹景立
e16f0c4294 fix: 正则一处 jQuery 对象判断 2025-03-28 23:21:29 +08:00
邹景立
a3d3c11505 fix: 兼容 JQuerySize用法 2025-03-20 17:14:05 +08:00
邹景立
460e06bdf2 fix: 更新 layui 升级导致的 jQuery 兼容问题 2025-03-20 16:58:54 +08:00
邹景立
51245ddedd fix: 更新layui版本到2.10.1 2025-03-20 08:23:21 +08:00
邹景立
8c374c7424 fix: 修复Excel导出样式异常问题 2025-03-11 23:54:48 +08:00
邹景立
1617be2961 fix: 更新 Excel.loadAll 为 Excel.bindLoadDone ,绑定事件并加载完成后再回调 2025-03-11 22:51:13 +08:00
邹景立
c9601938c9 fix: 增加 Excel.loadAll 方法,加载待所有导出数据 2025-03-11 22:44:01 +08:00
邹景立
035ceabd1f fix: 修改Excel导出 JS 脚本 2025-03-11 22:30:49 +08:00
邹景立
ce1c27e25d fix: 更新 layui 版本到 2.9.24 2025-03-09 13:24:40 +08:00
邹景立
45ecf1f549 fix: 更新注释及开放Helper工具包 2025-03-01 22:33:38 +08:00
LiuPengFeiCode
b929646495 完善data-tips-text支持自定义颜色data-tips-color 2025-02-26 12:39:46 +08:00
邹景立
ec768a6e2a 更新 Github 脚本 2025-02-24 13:58:39 +08:00
邹景立
03fc2fd3c7 fix: 更新 layui 版本到 2.9.23 2025-02-23 19:43:03 +08:00
邹景立
5c29268a42 fix: 更新 layui 版到 2.9.22 2025-02-15 19:41:03 +08:00
邹景立
fb80ba33d3 fix: 更新 layui 版本 v2.9.21 2025-01-04 14:38:38 +08:00
邹景立
f9108fcb36 fix: 更新 layui 版本为 2.9.20 2024-11-27 16:42:41 +08:00
邹景立
c94449ab62 fix: 更新配置文件 2024-11-18 00:25:56 +08:00
邹景立
be578184d5 Update .env.example 2024-11-02 20:59:05 +08:00
邹景立
8b8252a06e fix: 修改 .env 生成,默认只生成 demo 文件 2024-10-26 22:25:20 +08:00
邹景立
748cdd33f2 fix: 修改默认配置数据库类型 2024-10-17 10:42:16 +08:00
邹景立
fc4bd3ccbd fix: 更新 layui 版本到 v2.9.18 2024-10-15 19:01:22 +08:00
邹景立
a07dcdda5f fix: 进一步完善初始化配置 2024-10-15 17:37:21 +08:00
邹景立
355615660e fix: 更新初始化数据库配置 2024-10-15 13:05:59 +08:00
邹景立
af7ef9b2cb fix: 更新默认数据库配置文件 2024-10-15 12:59:44 +08:00
邹景立
c5d84df71c fix: 更新 layui 版本到 2.9.17 2024-10-01 20:16:51 +08:00
邹景立
1f19867993 fix: 更新表单值 URL 验证规则 2024-09-09 18:58:56 +08:00