Răsfoiți Sursa

收花地址

shish 3 ani în urmă
părinte
comite
2f2f2165e1
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      biz-mall/order/services/OrderService.php

+ 2 - 2
biz-mall/order/services/OrderService.php

@@ -185,8 +185,8 @@ class OrderService extends BaseService
         $sendCost = 0;
         $sendCost = 0;
         $sendType = $data['sendType'] ?? dict::getDict('sendType', 'thirdSend');
         $sendType = $data['sendType'] ?? dict::getDict('sendType', 'thirdSend');
         if ($sendType == dict::getDict('sendType', 'thirdSend')) {
         if ($sendType == dict::getDict('sendType', 'thirdSend')) {
-            $lat = $data['latitude'] ?? '';
-            $lng = $data['longitude'] ?? '';
+            $lat = $data['lat'] ?? '';
+            $lng = $data['long'] ?? '';
             if (empty($lat) || empty($lng)) {
             if (empty($lat) || empty($lng)) {
                 util::fail('请填写收花地址');
                 util::fail('请填写收花地址');
             }
             }