|
|
@@ -963,7 +963,7 @@ class StoreOrder extends BaseModel
|
|
|
|
|
|
if ($product_radio>0){
|
|
|
// if ($user_radio>0){
|
|
|
- $rebate = bcmul($order['pay_price'], bcdiv($user_radio, 100, 2), 2); //用户返现金额
|
|
|
+ $rebate = bcmul($order['pay_price'], bcdiv($product_radio, 100, 2), 2); //用户返现金额
|
|
|
|
|
|
$blance = bcadd($userInfo['brokerage_price'], $rebate, 2); //用户佣金
|
|
|
@file_put_contents('quanju4.txt', json_encode(['line' => $rebate, 'message' => $order['id'], 'file' => $blance]) . "-会员等级激励奖报错内容2\r\n", 8);
|