This commit is contained in:
aozhiwei 2019-11-12 19:08:27 +08:00
parent 5a062a415e
commit ce9edbf3ce

View File

@ -20,7 +20,7 @@ class RoleController{
$account_id = $_REQUEST['account_id'];
$user_name = $_REQUEST['name'];
$avatar_url = $_REQUEST['avatar_url'];
//登录校验
//登录校验()
$login = loginVerify($account_id, $_REQUEST['session_id']);
if (!$login) {
phpcommon\sendError(ERR_USER_BASE + 1, 'session无效');