cloud hace 1 mes
padre
commit
5b837fd7ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }