邹景立
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
6bfa89f741
fix: 修正php8.5环境下的警告信息
2026-01-03 13:40:48 +08:00
Anyon
eed59e2413
fix: 更新文件加载
2025-12-30 16:52:45 +08:00
Anyon
e49fa0ac4e
fix: 完善并增加多语言包
2025-11-17 12:37:22 +08:00
邹景立
71c4d6f7d1
fix: 优化查询器异常处理
2025-08-17 22:06:16 +08:00
邹景立
8ff44eea2f
fix: 增加 _query 和 _vali 快捷方法
2025-08-17 22:05:39 +08:00
邹景立
f71d2d289d
Update PhinxExtend.php
2025-08-16 00:17:06 +08:00
邹景立
47b93ca03a
fix: 更新数据库同步脚本索引长度处理
2025-08-16 00:10:04 +08:00
邹景立
7cf5ba2c66
fix: 增加 longtext 长度处理
2025-08-15 23:22:20 +08:00
邹景立
1e88916489
Update readme.md
2025-05-12 15:30:34 +08:00
邹景立
681b5decf8
Update readme.md
2025-05-08 21:53:04 +08:00
邹景立
b4eda5776c
fix: 修改注释
2025-05-08 21:47:55 +08:00
邹景立
305153bb26
fix:插件增加超管权限配置
2025-04-11 23:09:14 +08:00
邹景立
37db1bdda9
批量更新版权注释
2025-04-10 21:52:11 +08:00
邹景立
74969eaa37
更新项目描述
2025-04-10 21:50:34 +08:00
邹景立
bf6b7079ef
fix: 降级ThinkORm版本
2025-03-31 23:18:31 +08:00
邹景立
a24354ffec
Merge pull request #11 from jonesshen/master
...
fix: 修复str_pad方法并不会补充=号的小问题
2025-03-31 23:02:50 +08:00
邹景立
db24a7dd5d
fix: 优化多应用标识记录及后台链接生成
2025-03-31 22:50:49 +08:00
邹景立
1b82201668
fix: 放开 ThinkORM 的版本限制
2025-03-25 16:19:44 +08:00
邹景立
d378dc1cd0
fix: 降级 ThinkORM 版本,避免一些 BUG
2025-03-25 16:04:37 +08:00
Jone Shen
fa47993037
fix: 修复str_pad方法并不会补充=号的小问题
2025-03-24 19:58:56 +08:00
邹景立
9e9efb2215
同上
2025-03-21 18:13:25 +08:00
邹景立
0c29dc2d42
fix: 修改别名时的 info 提示
2025-03-21 18:06:36 +08:00
邹景立
27ee1fa363
fix: 更新修改 Model::mq() 处理机制,标准化返回 Query & Model
2025-03-12 23:11:11 +08:00
邹景立
0cb0abeaee
fix: 将数据库事件 db.event.before_page_count 改为 db.event.think_before_page_count
2025-03-12 21:20:11 +08:00
邹景立
889e352bf8
fix: 数据库查询前增加 db.event.think_before_event 事件
2025-03-12 21:19:04 +08:00
邹景立
6eeb9c6f0c
fix: 分页器增加 db.event.page_count 事件
2025-03-12 20:45:43 +08:00
邹景立
88ff71b5a2
fix: 更新所有模型的字段IDE提示注释
2025-03-01 22:26:05 +08:00
邹景立
f0a7cce4bf
feat: 增加模型自动生成用于IDE提示的注释工具
2025-03-01 22:24:18 +08:00
邹景立
ec768a6e2a
更新 Github 脚本
2025-02-24 13:58:39 +08:00
邹景立
d8de8f33af
Update Model.php
2025-02-23 19:27:10 +08:00
邹景立
c99c17fa00
Update SystemService.php
2025-02-23 09:55:54 +08:00
邹景立
6fc2d30872
fix: 优化 SystemService::update ,减少检测时的查询次数
2025-02-23 09:48:56 +08:00
邹景立
5153a3448b
fix: 优化 SystemService::update 方法
2025-02-23 09:32:01 +08:00
邹景立
f4391d1a7f
fix: 启用 ThinkORM 5.x 支持
2025-02-21 14:34:36 +08:00
邹景立
19abfdaaf8
Update Model.php
2025-02-21 12:38:05 +08:00
邹景立
287951f7e3
fix: 修改批量更新的方法名称
2025-02-21 12:36:24 +08:00
邹景立
352f13a4d3
Update composer.json
2025-02-21 11:55:33 +08:00
邹景立
caf034bd8d
Update composer.json
2025-02-21 11:14:06 +08:00
邹景立
34bc811587
Update composer.json
2025-02-21 11:03:17 +08:00
邹景立
e4e1562e01
fix: 暂时禁用 orm 5.x 代码
2025-02-21 10:58:21 +08:00
邹景立
e141080309
Update common.php
2025-02-21 10:46:48 +08:00
邹景立
76fdaa116a
fix: 更新模型定义
2025-02-21 10:42:20 +08:00
邹景立
ceb76964cf
fix: 更新批量更新操作
2025-02-21 08:26:48 +08:00
邹景立
36ead68fec
fix: _query 支持子查询操作
2025-02-16 10:29:54 +08:00
邹景立
71e1e6d08f
fix: 修改 mUpdate 支持批量更新
2025-02-15 18:45:05 +08:00
邹景立
b099474147
fix: 数据库脚本生成增加强制更新结构
2024-11-18 00:26:18 +08:00
邹景立
1865dfa8fd
fix: 去除 route->getBind() 用法
2024-11-02 20:48:02 +08:00
邹景立
aef4e36c19
fix: 重构 ToolsExtend 文件系统操作工具
2024-10-17 09:55:03 +08:00
邹景立
d8b984b2dc
fix: 优化目录清理函数
2024-10-17 00:16:32 +08:00