소스 검색

上线配置

lizhen_gitee 1 년 전
부모
커밋
68298f493f
2개의 변경된 파일16개의 추가작업 그리고 12개의 파일을 삭제
  1. 15 12
      application/config.php
  2. 1 0
      application/database.php

+ 15 - 12
application/config.php

@@ -297,11 +297,12 @@ return [
 
     'redis'                  => [
         // 主机
-        'host'     => '127.0.0.1',
+        'host'     => 'r-uf6s12w1bbuff46572.redis.rds.aliyuncs.com',
+//        'host'     => 'r-uf6s12w1bbuff46572pd.redis.rds.aliyuncs.com',//外网
         // 端口
         'port'      => 6379,
-        'redis_pwd' => '',
-        'redis_selectdb' => 10,
+        'redis_pwd' => 'tA2sXnCJcKdwzxi6',
+        'redis_selectdb' => 0,
     ],
 
    /* 'cos'                  => [
@@ -324,8 +325,8 @@ return [
 
 // 客户音聊,微信三方登录
      'wxMiniProgram' => [
-         'appid'  => 'wxc36febe4553c482c',
-         'secret' => '35dfe74bdec9ceced7aa494f9f45c844',
+         'appid'  => '',
+         'secret' => '',
      ],
     'imgurl' => ["image","icon_image","avatar","back_image","skill_icon","file_image","gif_image","party_logo","special","gift_gif","gift_image","music","android_image"],
 
@@ -333,11 +334,11 @@ return [
     // 运营商一键登录
     'onLogin'        => [
         //
-        'secretid'     => '14a36938de908d93e1c799f09f9a8943',
+        'secretid'     => '',
         //
-        'secretkey'      => 'd88ef04221427693a16f0f9fcd270c05',
+        'secretkey'      => '',
         //
-        'businessid'      => '6af7aba2b8844b83970b37c9de2b9f82',
+        'businessid'      => '',
     ],
 
 
@@ -371,14 +372,14 @@ return [
         'app_code'   => 'f198eb0d295b4849b1946d3619c25ede',
     ],
 
-    //环信 #demo 正式
+    //环信 #demo 正式
     'easemob' => [
         'appkey'        => '1101231101159883#demo',
         'client_id'     => 'YXA6X03yPI2bSDm0V5LZ-jDddA',
         'client_secret' => 'YXA6YXEVRXh4fYSU1X1syg37qiQPeR4',
     ],
 
-    //声网
+    //声网  正式
     'shengwang' => [
         'app_id' => '723513dadf714cdeb4e4379c95654865',
         'app_zhengshu' => '6b066fe9a9fa47d98d4c8fd6f4607033',
@@ -390,8 +391,10 @@ return [
     ],
 
     //支付宝账号,海知伴,仅用来备份
-    'pay_notify_url' => 'https://kge.huxiukeji.cn',
-    'h5register_url' => 'https://kgeweb.huxiukeji.cn/?invite_no=',
+    'pay_notify_url' => 'https://hzb.lyxhwl.top',
+    'h5register_url' => 'https://hzbweb.lyxhwl.top/?invite_no=',
+
+    //只是备份支付
     'alipay' => [
         //appid
         'app_id'   => '2021004127617098',

+ 1 - 0
application/database.php

@@ -16,6 +16,7 @@ return [
     // 数据库类型
     'type'            => Env::get('database.type', 'mysql'),
     // 服务器地址
+//    'hostname'        => Env::get('database.hostname', '47.102.102.23'),
     'hostname'        => Env::get('database.hostname', '127.0.0.1'),
     // 数据库名
     'database'        => Env::get('database.database', 'haizhiban'),