Parcourir la source

Merge branch 'zengjun'

zhouzhendong il y a 4 ans
Parent
commit
ca596fea7f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,'新杰')){
         if(!str_starts_with($logistic->name,'新杰')){
             $city = app(CityService::class)->findByName($cityName);
             $city = app(CityService::class)->findByName($cityName);
             $province = app(ProvinceService::class)->findByName($provinceName);
             $province = app(ProvinceService::class)->findByName($provinceName);
-            $logistic = Logistic::query()->where('name','顺丰特惠')->first();
+            $logistic = Logistic::query()->where('code','SFTH')->first();
             if(isset($city) && isset($province)){
             if(isset($city) && isset($province)){
                 return $this->findByCityIdAndProvinceIdAndLogisticName($city->id,$province->id,$logistic->id);
                 return $this->findByCityIdAndProvinceIdAndLogisticName($city->id,$province->id,$logistic->id);
             }
             }