Browse Source

好评有礼防重复提交

lizhen_gitee 1 year ago
parent
commit
a1de05013c
2 changed files with 8 additions and 8 deletions
  1. 1 1
      application/api/controller/Baseconfig.php
  2. 7 7
      application/extra/site.php

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

@@ -114,7 +114,7 @@ class Baseconfig extends Api
         $images = input('images','');
         $platform = input('platform','android');
 
-        $check = Db::name('app_comment')->where('user_id',$this->auth->id)->find();
+        $check = Db::name('app_comment')->where('user_id',$this->auth->id)->order('id desc')->find();
         if($check){
             if($check['status'] == 1){
                 $this->error('您已经提交并审核通过,无需重复提交');

+ 7 - 7
application/extra/site.php

@@ -4,7 +4,7 @@ return array (
   'name' => 'TKEN',
   'beian' => '',
   'cdnurl' => '',
-  'version' => '1.0.3',
+  'version' => '1.0.4',
   'timezone' => 'Asia/Shanghai',
   'forbiddenip' => '',
   'languages' => 
@@ -58,21 +58,21 @@ return array (
   'min_withdrawal_money' => '1',
   'max_withdrawal_money' => '10000',
   'withdrawal_plat_bili' => '6',
-  'index_tuijian_vip_limit' => '1',
+  'index_tuijian_vip_limit' => '0',
   'index_pipei_switch' => '1',
-  'index_pipei_oneday_user_times' => '-1',
+  'index_pipei_oneday_user_times' => '5',
   'money_to_gold_rule' => '1、每个档位不限制兑换次数
 2、兑换金币即刻到账,若出现兑换失败或延迟的情况,请联系在线客服处理',
   'take_cash_rule' => '1、提现需要完成实名认证,否则无法提现
 2、每个提现额度,每日可提现3次
 3、提现扣除手续费1%
 4、相关额度会在1个工作日内审核发放,请注意查收',
-  'intro_newuser_gift_goldnum' => '100',
-  'android_is_force' => '0',
+  'intro_newuser_gift_goldnum' => '5',
+  'android_is_force' => '1',
   'android_apkUrl' => 'https://oss.tken.vip/apk/app-release.apk',
-  'android_apkName' => 'TKEN1.0.2',
+  'android_apkName' => 'TKEN1.0.6',
   'android_desc' => '修复已知问题,优化用户体验',
-  'android_versionCode' => '2',
+  'android_versionCode' => '6',
   'iso_is_force' => '1',
   'ios_downurl' => 'http://www.apple.com/store',
   'iso_appname' => 'TKEN1.0.1',