|
|
@@ -96,9 +96,9 @@ class BaseController extends PublicController
|
|
|
if (empty($shopAdmin)) {
|
|
|
util::logout('没有找到员工');
|
|
|
}
|
|
|
- if (isset($shopAdmin->delStatus) && $shopAdmin->delStatus == 1) {
|
|
|
- util::fail('您不是本店员工哦');
|
|
|
- }
|
|
|
+ // if (isset($shopAdmin->delStatus) && $shopAdmin->delStatus == 1) { //第95行查询时已限定 'delStatus' => 0, $shopAdmin->delStatus == 1 永远不会成立
|
|
|
+ // util::fail('您不是本店员工哦');
|
|
|
+ // }
|
|
|
if (isset($shopAdmin->status) && $shopAdmin->status == 0) {
|
|
|
util::fail('您已被平台禁止登录');
|
|
|
}
|