fix bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user