10 Commits

Author SHA1 Message Date
邹景立
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
邹景立
acb2b05c26 fix: 进一步完善数据库同步工具包
fix: 修正代码注释

This reverts commit 373427a539459a7abe17479e89ed9d9d353fff67.
2025-08-17 22:20:59 +08:00
邹景立
a0961f5ee3 Update readme.md 2025-03-01 22:50:52 +08:00
邹景立
179fc60e4f fix: 更新项目注释 2025-03-01 22:41:58 +08:00
邹景立
58de5253d0 Update readme.md 2025-03-01 22:37:32 +08:00
邹景立
45ecf1f549 fix: 更新注释及开放Helper工具包 2025-03-01 22:33:38 +08:00
邹景立
ed4c166d2a fix: 调整系统对 ThinkORM 的版本限制 2025-03-01 22:28:22 +08:00
邹景立
6cc8ae3589 fix: 批量更新文件注释 2025-03-01 22:25:38 +08:00
邹景立
f0a7cce4bf feat: 增加模型自动生成用于IDE提示的注释工具 2025-03-01 22:24:18 +08:00