浏览代码

注册用户,注册到im

lizhen_gitee 3 周之前
父节点
当前提交
e36262c5af
共有 2 个文件被更改,包括 9 次插入8 次删除
  1. 1 1
      application/admin/model/User.php
  2. 8 7
      application/extra/site.php

+ 1 - 1
application/admin/model/User.php

@@ -117,7 +117,7 @@ class User extends Model
                 $tenim->useredit(''.$row->id,$changed['nickname']);
             }
             if (isset($changed['avatar'])) {
-                $tenim->useredit(''.$row->id,'',localpath_to_netpath($changed['nickname']));
+                $tenim->useredit(''.$row->id,'',localpath_to_netpath($changed['avatar']));
             }
         });
     }

+ 8 - 7
application/extra/site.php

@@ -45,14 +45,14 @@ return array (
     'category2' => '分类二',
     'custom' => '自定义',
   ),
-  'android_update_version' => '1.0.8',
+  'android_update_version' => '1.0.2',
   'money_to_gold' => '10',
   'roomLimit' => '10000',
   'gift_plat_scale' => '60',
   'guard_price' => '5200',
   'new_user_intro_gold' => '100',
   'intro_income_rebate_rate' => '10',
-  'intro_recharge_rebate_rate' => '25',
+  'intro_recharge_rebate_rate' => '10',
   'intro_images' => 
   array (
     0 => '/uploads/20240619/e2a5012fa5b94f890e3e41c20c617e92.png',
@@ -61,6 +61,7 @@ return array (
   ),
   'vip_chat_discount' => '9',
   'vip_video_discount' => '10',
+  'vip_voice_discount' => '10',
   'extend_qrcode' => '/uploads/20221125/1c978c7620fa4ac52f789be83167f668.png',
   'unlock_chat_gold' => '10',
   'withdrawal_rate' => '7',
@@ -72,13 +73,13 @@ return array (
 3、相关额度会在1个工作日内审核发放,请注意查收',
   'typename' => '推荐,附近,新人',
   'randomuser_num' => '10000',
-  'pay_customer_service_id' => '32',
-  'customer_service_id' => '32',
+  'pay_customer_service_id' => '16',
+  'customer_service_id' => '16',
   'is_force' => '1',
-  'apk_url' => 'http://cos.hbyilin.cn/apk/le-you-v8.apk',
-  'apk_name' => '乐见交友',
+  'apk_url' => 'https://www.pgyer.com/ex901KLZ',
+  'apk_name' => 'Heart Love',
   'apk_desc' => '修复已知问题,优化用户体验',
-  'version_code' => '8',
+  'version_code' => '2',
   'ios_is_force' => '1',
   'ios_apk_url' => 'http://zhiliao.com.cn/bs65',
   'ios_apk_name' => '发现新版本 1.0.0',