Commit f638538a authored by clone's avatar clone

1

parent 3a062f88
......@@ -160,7 +160,7 @@ class OrderLogService
{
$payLogService = new PayLogService();
$residue_money = $payLogService->adjustment($pay_id);
if ($residue_money < $money) {
if (ceil($residue_money * 100) < ceil($money * 100)) { //处理float类型和字符串类型比较问题
return -2;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment