diff --git a/app/store/logic/auth/AdminLogic.php b/app/store/logic/auth/AdminLogic.php index 9f8af98bc..367a24847 100644 --- a/app/store/logic/auth/AdminLogic.php +++ b/app/store/logic/auth/AdminLogic.php @@ -23,6 +23,7 @@ use app\common\model\auth\AdminJobs; use app\common\model\auth\AdminRole; use app\common\model\auth\AdminSession; use app\common\cache\AdminTokenCache; +use app\common\model\system_store\SystemStore; use app\common\model\system_store\SystemStoreStaff; use app\common\service\FileService; use support\exception\BusinessException; @@ -229,7 +230,7 @@ class AdminLogic extends BaseLogic if ($action == 'detail') { return $admin; } - + $result['is_operated'] =SystemStore::where('id',$admin['store_id'])->value('is_operated'); $result['user'] = $admin; // 当前管理员角色拥有的菜单 $result['menu'] = MenuLogic::getMenuByAdminId($params['id']);