|
@@ -456,7 +456,7 @@ class Yorder extends Api
|
|
|
(new Ordercode())->isUpdate('true', ['order_id' => $data['order_id']])->save(['ruchang_status' => 3, 'wucan_status' => 3, 'yajin_status' => 3]);
|
|
|
|
|
|
// 修改积分
|
|
|
- $order_score = $order_info['item_money'] + $order_info['wucan_money'] - $order_info['youhui_money'];
|
|
|
+ $order_score = intval($order_info['item_money'] + $order_info['wucan_money'] - $order_info['youhui_money']);
|
|
|
$userM = $this->auth->getUser();
|
|
|
$this->score($this->auth->id, $userM->score, $order_score, '鱼塘退款');
|
|
|
$userM->score -= $order_score;
|