Browse Source

基础配置

lizhen_gitee 8 months ago
parent
commit
c1ca2cc8fc
3 changed files with 40 additions and 2 deletions
  1. 32 2
      application/config.php
  2. 4 0
      gitpull.sh
  3. 4 0
      gitpullonline.sh

+ 32 - 2
application/config.php

@@ -315,8 +315,35 @@ return [
 
     //腾讯云
     'tencent' => [
-        'secret_id' => "AKIDlULPTVd5bMD9GFMe6fG8698B8zAUcn7Y",
-        'secret_key' => "cbmCvofYk8fRQVhsOqIh2R4qlwIoQ8td",
+        'secret_id' => "",
+        'secret_key' => "",
+    ],
+
+    //环信 IM
+    'easemob' => [
+        'appkey'        => '',
+        'client_id'     => '',
+        'client_secret' => '',
+    ],
+
+    //腾讯云 IM
+    'tencent_im' => [
+        'sdkappid' => '',
+        'identifier' => '',
+
+        //trtc回调秘钥
+        'callback_secret' => '',
+        'key' => '',
+        'SecretId' => '',
+        'SecretKey' => '',
+    ],
+
+    //阿里云短信配置
+    'alisms' =>[
+        'template_cn' => '', //国内
+        'sign' => '',
+        'key' => '',
+        'secret' => '',
     ],
 
     //redis配置
@@ -333,4 +360,7 @@ return [
             'website' => '全站基础配置',
         ],
 
+    //各种url
+    'pay_notify_url' => 'https://*.huxiukeji.cn',  //支付异步回调域名
+
 ];

+ 4 - 0
gitpull.sh

@@ -0,0 +1,4 @@
+sudo -uroot git reset --hard;
+sudo -uroot git pull;
+sudo -uroot chown -R www:www /www/wwwroot/jiankangyijia.huxiukeji.cn;
+sudo -uroot chmod -R 777 *;

+ 4 - 0
gitpullonline.sh

@@ -0,0 +1,4 @@
+sudo -uroot git reset --hard;
+sudo -uroot git pull;
+sudo -uroot chown -R www:www /www/wwwroot/xmb.tkenapp.com;
+sudo -uroot chmod -R 777 *;