This commit is contained in:
knowpia
2022-09-13 17:14:59 +08:00
parent 6fc2e4ec6c
commit badfb892dc

View File

@@ -92,7 +92,6 @@ 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];