Browse Source

海报使用后台上传的背景图

lizhen_gitee 10 months ago
parent
commit
0bae85770c
2 changed files with 10 additions and 8 deletions
  1. 1 1
      application/api/controller/Userinvite.php
  2. 9 7
      application/extra/site.php

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

@@ -55,7 +55,7 @@ class Userinvite extends Api
             'id' => $this->auth->id,
             'title' => '珍友',
             'waittext' => '您的专属海报正在拼命生成中,请等待片刻...',
-            'bg_image' => '/assets/img/posteruserbg.png',
+            'bg_image' => !empty(config('site.poster_bg_image')) ? localpath_to_netpath(config('site.poster_bg_image')) : '/assets/img/posteruserbg.png',
             'data' => $data,
             'status' => 'normal',
             'weigh' => 0,

+ 9 - 7
application/extra/site.php

@@ -49,13 +49,14 @@ return array (
   'gift_plat_scale' => '60',
   'invitesite_activeinfo' => '好友充值1000金币可得400金币
 好友提现1000金币可得200金币',
-  'introsite_introrule' => '通过海报分享或者链接分享方式注册用户,或直接通过用户绑定方式进行参与活动',
+  'introsite_introrule' => '通过海报或者链接分享方式注册用户,或直接通过用户绑定方式进行参与活动,
+申请绑定上传后可联系客服加速通过审核!',
   'kefu_user_ids' => '6070',
   'android_is_force' => '1',
-  'android_apkUrl' => 'http://cos.cxyue.top/apk/zhen-you-v5.apk',
-  'android_apkName' => '1.0.5',
+  'android_apkUrl' => 'http://cos.cxyue.top/apk/zhen-you-v7.apk',
+  'android_apkName' => '1.0.7',
   'android_desc' => '修复已知问题,优化用户体验',
-  'android_versionCode' => '5',
+  'android_versionCode' => '7',
   'iso_is_force' => '1',
   'ios_downurl' => 'https://apps.apple.com/',
   'iso_appname' => '1.0.1',
@@ -110,14 +111,15 @@ return array (
   'apisite_switch' => '1',
   'apisite_notice' => '全站维护中!!',
   'man_dashan_times' => '50',
-  'index_match_video_switch' => '0',
+  'index_match_video_switch' => '1',
   'index_match_audio_switch' => '0',
-  'man_reg_audio_sec' => '1',
-  'man_reg_video_sec' => '1',
+  'man_reg_audio_sec' => '0',
+  'man_reg_video_sec' => '2',
   'man_reg_typing_times' => '6',
   'match_bg_music' => '/uploads/20240408/1aa22b2ee9d21cbe84f4e4cbbe6d52af.mp3',
   'usersite_matchinfo_switch' => '1',
   'man_index_dashan_pushtimes' => '3',
   'woman_index_dashan_pushtimes' => '3',
   'index_women_auth_switch' => '1',
+  'poster_bg_image' => '/uploads/20240524/9018abc98d82e4774309d1efb115c14e.png',
 );