22 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
Anyon
e49fa0ac4e fix: 完善并增加多语言包 2025-11-17 12:37:22 +08:00
邹景立
37db1bdda9 批量更新版权注释 2025-04-10 21:52:11 +08:00
邹景立
c4a43da498 fix: 更新微信V3支付配置参数 2025-03-05 23:14:38 +08:00
邹景立
45ecf1f549 fix: 更新注释及开放Helper工具包 2025-03-01 22:33:38 +08:00
邹景立
88ff71b5a2 fix: 更新所有模型的字段IDE提示注释 2025-03-01 22:26:05 +08:00
邹景立
ec768a6e2a 更新 Github 脚本 2025-02-24 13:58:39 +08:00
邹景立
056ade708f fix: 调整用户编号长度为12位 2024-11-30 20:46:03 +08:00
邹景立
10b84445dd fix: 重新调整脚本顺序 2024-10-17 15:24:54 +08:00
邹景立
ce40c67479 fix: 更新 Payment 插件安装及升级脚本 2024-10-16 20:57:37 +08:00
邹景立
0cda003c90 Update 20241016000001_install_payment20241016.php 2024-10-16 17:34:32 +08:00
邹景立
57cf7c7540 fix: 更新支付插件数据库脚本 2024-10-16 17:33:59 +08:00
邹景立
8c80190e0a fix: 更新支付退款通知及其他常驻内存框架处理 2024-10-09 22:32:16 +08:00
邹景立
9af866f8c3 代码优化 2024-10-09 21:36:19 +08:00
邹景立
10d90e9fb2 fix: 优化支付剩余统计 2024-10-09 21:33:10 +08:00
邹景立
9d231881d7 fix: 修复支付的统计精度问题 2024-10-09 21:31:05 +08:00
邹景立
9aab0a55b1 fix: 修改项目文档说明 2024-08-05 23:58:38 +08:00
邹景立
0cded14ac3 fix: 修改文档描述 2024-08-05 23:54:34 +08:00
邹景立
b98c5b7a88 fix: 更新 Github Actions 自动 Release 脚本 2024-08-04 14:46:22 +08:00
邹景立
d62a0aa1d4 update: 更新项目说明 2024-08-03 23:06:26 +08:00
邹景立
ce7375ce87 增加 Github Actions 脚本 2024-08-02 08:45:48 +08:00