sunhao %!s(int64=5) %!d(string=hace) años
padre
commit
4a5892eac4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Console/Commands/SyncMjOrderStatus.php

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

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