cloud 1 개월 전
부모
커밋
5b837fd7ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }