This commit is contained in:
knowpia
2022-09-13 16:14:25 +08:00
parent 9f5a91d0b0
commit 07938ca763

View File

@@ -87,7 +87,10 @@ class Article
->order("id desc")
->limit(env("page_count"))
->select();
$info['other_list'] = $lists;
foreach($lists as $vo){
$vo['imgs'] = json_decode($vo['imgs'],true);
$info['other_list'][] = $vo;
}
$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;