NEED_LOGIN code add

This commit is contained in:
knowpia
2022-09-08 17:23:45 +08:00
parent 5f982d62ce
commit 4f6026dbff
5 changed files with 23 additions and 11 deletions

View File

@@ -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");