NEED_LOGIN code add
This commit is contained in:
@@ -10,7 +10,7 @@ class Help
|
||||
{
|
||||
$userid = $GLOBALS['data']['userid'];
|
||||
if(empty($userid)){
|
||||
return show("请登录后再助力!");
|
||||
return show("请登录后再助力!",NEED_LOGIN);
|
||||
}
|
||||
if(empty($GLOBALS['data']['data']['student_id'])){
|
||||
return show("请输入要助力的用户id!");
|
||||
|
||||
Reference in New Issue
Block a user