Browse Source

收花地址

shish 3 years ago
parent
commit
2f2f2165e1
1 changed files with 2 additions and 2 deletions
  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;
         $sendType = $data['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)) {
                 util::fail('请填写收花地址');
             }