lizhen_gitee il y a 1 an
Parent
commit
06abe934b6

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

@@ -16,7 +16,7 @@ class Userintro extends Api
     //生成我的视频海报
     //生成邀请码二维码图片
     public function inviteimage() {
-        $params['text'] = config('app_download_url') . '/index/appdownload';
+        $params['text'] = config('app_download_url') . '/index/index/appdownload';
         $qrcode_service = \addons\qrcode\library\Service::qrcode($params);
 //        $mimetype = 'image/png';
 //        $response = Response::create()->header("Content-Type", $mimetype);

+ 4 - 4
application/extra/site.php

@@ -53,7 +53,7 @@ return array (
 4、禁止通过任何非常规或其他被TKEN认定为恶意的手段完成邀请。',
   'introsite_introrule' => '1、所有用户可以参加邀请好友活动。
 2、通过自己分享的活动页面地址下载注册成功,即发放注册奖励,邀请新用户达100人,奖励额外增加20%。',
-  'kefu_user_ids' => '1,2,3',
+  'kefu_user_ids' => '417,407',
   'user_auth_switch' => '1',
   'min_withdrawal_money' => '1',
   'max_withdrawal_money' => '10000',
@@ -69,9 +69,9 @@ return array (
 4、相关额度会在1个工作日内审核发放,请注意查收',
   'intro_newuser_gift_goldnum' => '100',
   'android_is_force' => '0',
-  'android_apkUrl' => 'http://www.baidu.com',
-  'android_apkName' => 'tken.1.0.1',
-  'android_desc' => '这次更新了很多东西',
+  'android_apkUrl' => 'https://www.pgyer.com/KnYAWL',
+  'android_apkName' => 'TKEN1.0.1',
+  'android_desc' => '修复已知问题,优化用户体验',
   'android_versionCode' => '1',
   'iso_is_force' => '1',
   'ios_downurl' => 'http://www.apple.com/store',

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

@@ -28,18 +28,18 @@ class Index extends Frontend
      * 判断是安卓还是ios
      */
     public function appdownload() {
-        $this->view->assign('downurl', config("site.apkurl"));
-        return $this->view->fetch();
+        /*$this->view->assign('downurl', config("site.apkurl"));
+        return $this->view->fetch();*/
 
         if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')){
-            header("Location: https://apps.apple.com/cn/app/%E4%BC%B4%E5%A3%B0%E8%AF%AD%E9%9F%B3/id1556551099");
+            header(config('site.ios_downurl'));
         }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"));
+            $this->view->assign('downurl', config("site.android_apkUrl"));
             return $this->view->fetch();
         }else{
-            $this->view->assign('downurl', config("site.apkurl"));
+            $this->view->assign('downurl', config("site.android_apkUrl"));
             return $this->view->fetch();
         }
     }

+ 1 - 1
application/index/view/index/appdownload.html

@@ -5,7 +5,7 @@
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>觅TA下载</title>
+    <title>TKEN下载</title>
     <script src="../../assets/js/fontSize.js"></script>
 </head>
 <style>