|
|
|
@ -134,7 +134,7 @@ class User extends UserService |
|
|
|
|
//商家表里有没有 |
|
|
|
|
$model = new \app\api\model\Store(); |
|
|
|
|
$store_id = $model->where(['user_id' => $userId])->value('store_id'); |
|
|
|
|
if ($store_id && $store_id == (new self())->getStoreId()) { |
|
|
|
|
if ($store_id) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|