test
This commit is contained in:
parent
6987d608b6
commit
ac4fe6c172
@ -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']) {
|
||||
|
Loading…
Reference in New Issue
Block a user