...
|
...
|
@@ -240,7 +240,7 @@ class Order extends Model |
|
|
}
|
|
|
// 退回积分
|
|
|
if($this['score'] > 0){
|
|
|
User::score(-$this['score'],$this['user_id'],'取消订单,退回积分');
|
|
|
User::score($this['score'],$this['user_id'],'取消订单,退回积分');
|
|
|
}
|
|
|
return $this->save(['order_status' => '2']);
|
|
|
}
|
...
|
...
|
|