Commit 8ef9d665 authored by 刘小敏's avatar 刘小敏

fix(pay): 修正非积分商城订单积分抵扣金额计算

parent c2a21afe
......@@ -129,8 +129,9 @@ class PayOper
$real_fee = $score; // 积分商城真实抵扣,就是积分
} else {
$log_type = 'order_pay';
$real_fee = $score; // 非积分商城订单,积分抵扣
// error_stop('缺少积分抵扣金额'); // 支持积分抵扣时补全
// 非积分商城订单,积分抵扣 real_fee 为人民币金额
// 100积分 = 1元,getPayedFee() 按金额累加,必须用人民币金额
$real_fee = round($score / 100, 2);
}
}
......
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