mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 13:31:04 +00:00
PHP 8 bcmath 函数要求字符串参数,会员支付链路 8 处传入 int 导致 TypeError:abs() 返回 int、86400/time() 为 int 字面量与返回值。 统一 (string) 强转,覆盖订单创建(checkPayMemberType)、支付成功 (setMemberOverdueTime)、到期时间接口(getOverdueTime)、卡密激活 (drawMemberCard)四条路径;postMore 的 type/price 默认值同步改为 字符串,防止漏传时命中同一严格类型声明。