This commit is contained in:
knowpia
2022-09-13 17:14:32 +08:00
parent 91149c9bc2
commit 6fc2e4ec6c

View File

@@ -92,6 +92,7 @@ class Article
->limit(env("page_count"))
->select();
foreach($lists as $vo){
$vo['imgs'] = "";
if(!empty($vo['imgs'])) {
$vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true);
$vo['imgs']= $vo['imgs'][0];