diff --git a/FlyCube/MpApi/Controller/AdminController.class.php b/FlyCube/MpApi/Controller/AdminController.class.php index c6aa8a1..cbdb20a 100644 --- a/FlyCube/MpApi/Controller/AdminController.class.php +++ b/FlyCube/MpApi/Controller/AdminController.class.php @@ -245,10 +245,8 @@ class AdminController extends PublicController */ public function deleteAdmin() { - //非总管理员 直接打断 退出 - if ($this->tokenShop_id != C('powerId')) { //非总管理员 - echo json_encode(array('status' => 0, 'msg' => '没有权限')); - exit; + if ($this->tokenShop_id != C('powerId')) { + $where['shop_id'] = $this->tokenShop_id; //非总管理员 } if ($_REQUEST['idArr']) {