소스 검색

快递同步韵达

ANG YU 4 년 전
부모
커밋
8d7e26d4cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/LogisticYDService.php

+ 1 - 1
app/Services/LogisticYDService.php

@@ -51,7 +51,7 @@ class LogisticYDService
                     "county" => $order->district,
                     "county" => $order->district,
                     "name" => $order->consignee_name,
                     "name" => $order->consignee_name,
                     "phone" => $order->consignee_phone,
                     "phone" => $order->consignee_phone,
-                    "province" => $order->province
+                    "province" => $order->province ?? $order->city,
                 ],
                 ],
                 "sender" => $sender
                 "sender" => $sender
             ];
             ];