修改限制

This commit is contained in:
liu 2024-07-04 10:15:25 +08:00
parent f9f0e2e4f8
commit ad1e4f3f5d

View File

@ -195,7 +195,7 @@ class OrderLogic extends BaseLogic
}
$store_check = 1;
}
if ($store_check) {
if (empty($store_check)) {
if ((isset($params['lat']) && $params['lat'] != '') && (isset($params['long']) && $params['long'] != '')) {
$storeAll = SystemStore::field('id,name,phone,address,detailed_address,latitude,longitude')->select()->toArray();
$nearestStore = null;