Browse Source

配置修改

lizhen_gitee 10 months ago
parent
commit
e4ebd9926e
2 changed files with 9 additions and 12 deletions
  1. 4 7
      application/common/library/Auth.php
  2. 5 5
      application/extra/site.php

+ 4 - 7
application/common/library/Auth.php

@@ -831,13 +831,10 @@ class Auth
         }
         //查询是否免费体验视频通话1分钟
         $userinfo['is_video_free'] = 1;//Db::name('user_match_video_log_free')->where(['user_id' => $this->id])->count('id');
-        //谁看过我数量
-//        $time = Db::name('user_visit_time')->where(['user_id' => $this->id])->value('visittime');
-        $visit_where = [];
-//        if ($time) {
-//            $visit_where['updatetime'] = ['gt', $time];
-//        }
-        $userinfo['visit_num'] = Db::name('user_visit')->where(['to_uid' => $this->id])->where($visit_where)->count('id');
+
+
+        //访客数量
+        $userinfo['visit_num'] = Db::name('user_visit')->where(['to_uid' => $this->id])->count('id');
         //分享下载链接
         $userinfo['invite_url'] = config('site.extend_link') . '?code=' . $userinfo['introcode'];
 

+ 5 - 5
application/extra/site.php

@@ -42,7 +42,7 @@ return array (
     'custom' => '自定义',
   ),
   'domain_name' => 'http://xiaoyouyuan.huxiukeji.cn/',
-  'android_update_version' => '1.5.0',
+  'android_update_version' => '1.0.2',
   'money_to_gold' => '10',
   'roomLimit' => '10000',
   'gift_plat_scale' => '60',
@@ -75,10 +75,10 @@ return array (
   'pay_customer_service_id' => '121',
   'customer_service_id' => '121',
   'is_force' => '1',
-  'apk_url' => 'https://zhiyin-1317709175.cos.ap-shanghai.myqcloud.com/apk/app-release.apk',
-  'apk_name' => '知音1.5.0',
-  'apk_desc' => '升级微信支付,我们优化了已知BUG,知音为您提供更好的体验。',
-  'version_code' => '49',
+  'apk_url' => 'http://xiaoyou-1325769785.cos.ap-nanjing.myqcloud.com/apk/xiao-you-yuan-v2',
+  'apk_name' => '校友缘',
+  'apk_desc' => '修复已知问题,优化用户体验',
+  'version_code' => '2',
   'ios_is_force' => '1',
   'ios_apk_url' => 'http://zhiliao.com.cn/bs65',
   'ios_apk_name' => '发现新版本 1.0.0',