This commit is contained in:
knowpia
2022-09-13 16:49:58 +08:00
parent 6fe4da0596
commit 167a626e0d

View File

@@ -83,6 +83,7 @@ class Article
if(!empty($info['imgs'])) {
$info['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $info['imgs']), true);
}
if(empty($info['imgs'])) $info['imgs'] = [];
$info['other_list'] = [];
$lists = Db::name('app_article')
->where("userid",$info["userid"])