ajun 5 роки тому
батько
коміт
e8bccb82fb
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      app/Services/OrderTrackingService.php

+ 2 - 0
app/Services/OrderTrackingService.php

@@ -425,6 +425,8 @@ class OrderTrackingService
             $client = $items[1][0];
             $client = $items[1][0];
             $order_remark = $items[3][0];
             $order_remark = $items[3][0];
         }
         }
+        if(stristr($client,'天猫'))$client='天猫';
+        if(stristr($client,'京东'))$client='京东';
         return [
         return [
             'owner_id' => $order->owner_id,
             'owner_id' => $order->owner_id,
             'client' => $client,
             'client' => $client,