This commit is contained in:
knowpia
2022-09-13 16:00:30 +08:00
parent fca918115f
commit ede056fdd5

View File

@@ -80,7 +80,7 @@ class Article
$article_id = $GLOBALS['data']['data']['article_id']; $article_id = $GLOBALS['data']['data']['article_id'];
$info = Db::name('app_article')->where("id",$article_id)->find(); $info = Db::name('app_article')->where("id",$article_id)->find();
if(empty($info)) return show("找不到该动态信息!"); if(empty($info)) return show("找不到该动态信息!");
$info['other_list'] = [];
$lists = Db::name('app_article') $lists = Db::name('app_article')
->where("userid",$info["userid"]) ->where("userid",$info["userid"])
->where("id","<>",$info['id']) ->where("id","<>",$info['id'])