|
|
@@ -560,7 +560,7 @@ class OrderService extends BaseService
|
|
|
}
|
|
|
|
|
|
DB::beginTransaction();
|
|
|
- $this->model->where(['id' => $id])->update(['status' => '4', 'update_time' => time()]);
|
|
|
+ $this->model->where(['id' => $id])->update(['status' => 4, 'update_time' => time()]);
|
|
|
|
|
|
// 商家订单数据统计
|
|
|
$updateData = ['order_count' => DB::raw('order_count+1'), 'order_total' => DB::raw("order_total + {$orderTotal}")];
|