6 Commits

Author SHA1 Message Date
邹景立
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
邹景立
10b84445dd fix: 重新调整脚本顺序 2024-10-17 15:24:54 +08:00
邹景立
55d08ff770 fix: 调整更新插件数据库脚本 2024-10-16 21:43:14 +08:00
邹景立
19ada8aa20 fix: 修改数据脚本版本号,与 Payment 版本冲突 2024-10-16 17:44:29 +08:00
邹景立
787509ddb6 fix: 更新插件数据库脚本 2024-10-16 13:43:41 +08:00
邹景立
ce7375ce87 增加 Github Actions 脚本 2024-08-02 08:45:48 +08:00