瀏覽代碼

下载页

lizhen_gitee 3 年之前
父節點
當前提交
f6480462d4
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/index/controller/Index.php
  2. 二進制
      public/assets/img/download.png

+ 2 - 2
application/index/controller/Index.php

@@ -59,10 +59,10 @@ class Index extends Frontend
         }else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){
             //$host = $_SERVER["REQUEST_SCHEME"]."://".$_SERVER["HTTP_HOST"];
             //header("Location: ".$host."/index/index/download");
-            $this->view->assign('downurl', /*config("site.apkUrl")*/'baidu.com');
+            $this->view->assign('downurl', config("site.apkurl"));
             return $this->view->fetch();
         }else{
-            $this->view->assign('downurl', /*config("site.apkUrl")*/'baidu.com');
+            $this->view->assign('downurl', config("site.apkurl"));
             return $this->view->fetch();
         }
     }

二進制
public/assets/img/download.png