ajun 4 лет назад
Родитель
Сommit
5fe3dbace5
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/Services/PDDDeliveryService.php

+ 2 - 1
app/Services/PDDDeliveryService.php

@@ -7,6 +7,7 @@ use App\Services\Interfaces\DeliveryInterface;
 use App\Traits\DeliveryProcess;
 use Illuminate\Database\Query\Builder;
 use Illuminate\Support\Facades\File;
+use Illuminate\Support\Str;
 
 class PDDDeliveryService implements DeliveryInterface
 {
@@ -22,7 +23,7 @@ class PDDDeliveryService implements DeliveryInterface
             return [
                 // TODO 需要动态获取面单获取的组件 TYPE
                 'type' => 'PDD',
-                'task_id' => $item['trackingno'],
+                'task_id' => Str::uuid(),
                 'is_process' => false,
                 'data' => $item['userdefine1'],
                 'component_type' => 'PDD',