ANG YU 4 лет назад
Родитель
Сommit
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
             ];