瀏覽代碼

快递同步韵达

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,
                     "name" => $order->consignee_name,
                     "phone" => $order->consignee_phone,
-                    "province" => $order->province
+                    "province" => $order->province ?? $order->city,
                 ],
                 "sender" => $sender
             ];