lizhen_gitee %!s(int64=3) %!d(string=hai) anos
pai
achega
f6480462d4
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      application/index/controller/Index.php
  2. BIN=BIN
      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();
         }
     }

BIN=BIN
public/assets/img/download.png