|
|
@@ -318,6 +318,9 @@ class StoreOrder extends BaseModel
|
|
|
$priceGroup = $cartGroup['priceGroup'];
|
|
|
$other = $cartGroup['other'];
|
|
|
$distance = 0;
|
|
|
+ if (!$userInfo['admin_id'] && $other['only_store_user']) {
|
|
|
+ return self::setErrorInfo('不支持提货!', true);
|
|
|
+ }
|
|
|
if ($other['store_id'] != $storeId && !$store_order && !$free_check && !$test) {
|
|
|
self::clearCacheOrderInfo($uid, $key);
|
|
|
return self::setErrorInfo('所选门店改变,请刷新当前页面!', true);
|