1
This commit is contained in:
parent
6869f573d4
commit
07b81b8947
@ -92,8 +92,7 @@ class RoleController{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
$user_name = $_REQUEST['name'];
|
||||
$avatar_url = $_REQUEST['avatar_url'];
|
||||
$switch_id = $_REQUEST['switch_id'];
|
||||
//登录校验
|
||||
$switch_id = isset($_REQUEST['switch_id']) ? $_REQUEST['switch_id'] : 0;
|
||||
$login = loginVerify($account_id, $_REQUEST['session_id']);
|
||||
if (!$login) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, 'session无效');
|
||||
|
Loading…
x
Reference in New Issue
Block a user