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

+ 1 - 1
app/Services/LogisticTimingService.php

@@ -19,7 +19,7 @@ class LogisticTimingService
         if(!str_starts_with($logistic->name,'新杰')){
             $city = app(CityService::class)->findByName($cityName);
             $province = app(ProvinceService::class)->findByName($provinceName);
-            $logistic = Logistic::query()->where('name','顺丰特惠')->first();
+            $logistic = Logistic::query()->where('code','SFTH')->first();
             if(isset($city) && isset($province)){
                 return $this->findByCityIdAndProvinceIdAndLogisticName($city->id,$province->id,$logistic->id);
             }