cloud 1 tháng trước cách đây
mục cha
commit
5b837fd7ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -33,7 +33,7 @@ class Index extends Api
         $host = $_SERVER['HTTP_HOST'];
         $list = BannerModel::where("type", $type)->order("sort", "desc")->select();
         foreach ($list as $k=>$v){
-            $list[$k]['image'] = 'https://'.$host.$v['image'];
+            $list[$k]['image'] = 'http://'.$host.$v['image'];
         }
         $this->success("ok", $list);
     }