sunhao 5 years ago
parent
commit
4a5892eac4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Console/Commands/SyncMjOrderStatus.php

+ 1 - 0
app/Console/Commands/SyncMjOrderStatus.php

31
                 if($status == '已发货' || $status == '已完成'){
31
                 if($status == '已发货' || $status == '已完成'){
32
                     $data['status'] = 3;
32
                     $data['status'] = 3;
33
                     $data['logistics_id'] = $result['expressCode'];
33
                     $data['logistics_id'] = $result['expressCode'];
34
+                    $data['send_time'] = date('Y-m-d');
34
                     Order::where('id', $order['id'])->update($data);
35
                     Order::where('id', $order['id'])->update($data);
35
                 }elseif($status == '已取消'){
36
                 }elseif($status == '已取消'){
36
                     $data['is_del'] = 1;
37
                     $data['is_del'] = 1;