From 046d1e8eb349bce3a380acfd14ca1d86dbaaeeac Mon Sep 17 00:00:00 2001 From: 李忠强 <1354905998@qq.com> Date: Wed, 19 Jan 2022 10:49:14 +0800 Subject: [PATCH] 更新 --- application/api/controller/Index.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php index 955e957..0893cda 100644 --- a/application/api/controller/Index.php +++ b/application/api/controller/Index.php @@ -32,6 +32,9 @@ class Index extends Api $model = new News(); $list = $model->where('status','normal')->column('image'); + foreach ($list as $key => &$value){ + $value = cdnurl($value,true); + } $this->success('banner',$list); } -- libgit2 0.24.0