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