...
|
...
|
@@ -47,7 +47,7 @@ class Shop extends Frontend |
|
|
$user = $userModel->findData(['id'=>$user_id]);
|
|
|
if(!empty($user)){
|
|
|
$province_ids = explode(',',$user['province_ids']);
|
|
|
if($user['is_svip'] == '1' || ($user['is_vip'] == '1' && in_array($province_id,$province_ids))){
|
|
|
if($user['is_svip'] == '1' || ($user['is_vip'] == '1' && $province_ids && in_array($province_id,$province_ids))){
|
|
|
$encrypt = '1';
|
|
|
}
|
|
|
}
|
...
|
...
|
|