shish 3 years ago
parent
commit
eb6f20ab73
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app-mall/controllers/OrderController.php

+ 2 - 2
app-mall/controllers/OrderController.php

@@ -163,8 +163,8 @@ class OrderController extends BaseController
             $sendCost = 0;
             $shop = $this->shop;
             if ($sendType == dict::getDict('sendType', 'thirdSend')) {
-                $lat = $post['latitude'] ?? '';
-                $lng = $post['longitude'] ?? '';
+                $lat = $post['lat'] ?? '';
+                $lng = $post['long'] ?? '';
                 if (empty($lat) || empty($lng)) {
                     util::fail('请填写收花地址');
                 }