This commit is contained in:
knowpia
2022-09-13 16:07:21 +08:00
parent ede056fdd5
commit 9f5a91d0b0

View File

@@ -88,6 +88,10 @@ class Article
->limit(env("page_count"))
->select();
$info['other_list'] = $lists;
$info['userinfo']=[];
$userinfo = Db::name("student")->where("id",$info['userid'])->field("nickname,avatar,age,type,disabled as is_disabled,city,school,hot")->find();
$info['userinfo'] = $userinfo;
return show(SUCCESS_MESSAGE,SUCCESS_CODE,$info);
}