This commit is contained in:
knowpia
2022-09-13 17:13:54 +08:00
parent eb6a7827fd
commit 91149c9bc2

View File

@@ -94,6 +94,7 @@ class Article
foreach($lists as $vo){ foreach($lists as $vo){
if(!empty($vo['imgs'])) { if(!empty($vo['imgs'])) {
$vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true); $vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true);
$vo['imgs']= $vo['imgs'][0];
} }
$info['other_list'][] = $vo; $info['other_list'][] = $vo;
} }