Explorar o código

微信支付配置

lizhen_gitee hai 1 ano
pai
achega
811c3f93b9

+ 3 - 3
addons/epay/config.php

@@ -7,9 +7,9 @@ return [
         'type' => 'array',
         'content' => [],
         'value' => [
-            'appid' => 'wx69fb4525c9156250',
-            'app_id' => 'wx1aded5599770e18a',
-            'app_secret' => '70f8aa352f396ac488f839bb77a9200f',
+            'appid' => 'wx4148b31582a36cbc',
+            'app_id' => '',
+            'app_secret' => '',
             'miniapp_id' => '',
             'mch_id' => '1642496861',
             'key' => 'D2F8f6s06w8e7q1d0s6FB6D2d3s9w8f6',

+ 1 - 1
application/admin/view/general/attachment/index.html

@@ -7,7 +7,7 @@
             <div class="tab-pane fade active in" id="one">
                 <div class="widget-body no-padding">
                     <div id="toolbar" class="toolbar">
-                        {:build_toolbar('refresh')}
+                        {:build_toolbar('refresh,add')}
                         <!--<a class="btn btn-info btn-classify dropdown-toggle btn-disabled disabled {:$auth->check('general/attachment/edit')?'':'hide'}"><i class="fa fa-arrow-right"></i> {:__('Classify')}</a>-->
                     </div>
                     <table id="table" class="table table-striped table-bordered table-hover table-nowrap"

+ 4 - 6
application/config.php

@@ -300,13 +300,11 @@ return [
     //////////////////////////////////////////////////////////////////////////////////////////
     // 腾讯im配置
     'tencent_im' => [
-//        'sdkappid' => '1400589001',
         'sdkappid' => '',
         'identifier' => '',
 
         //trtc回调秘钥
         'callback_secret' => '',
-//        'key' => '',
         'key' => '',
         'SecretId' => '',
         'SecretKey' => '',
@@ -359,8 +357,8 @@ return [
 
     //开放平台的,不是小程序的
     'wxMiniProgram' => [
-        'appid'  => 'wxc36febe4553c482c',
-        'secret' => '35dfe74bdec9ceced7aa494f9f45c844',
+        'appid'  => '',
+        'secret' => '',
     ],
 
     //阿里银行卡三要素
@@ -371,14 +369,14 @@ return [
         'app_code' => '',
     ],
 
-    //阿里云实名认证三要素,数脉
+    //阿里云实名认证三要素,正式数脉
     'aliyun_auth_shumai' => [
         'app_key'    => '204165018',
         'app_secret' => 'owfeQdhvhzq988fC4iOz2YjnSGOk7sFX',
         'app_code'   => '70754381570645739ce7bfb56268a483',
     ],
 
-    //阿里云短信配置
+    //阿里云短信配置,正式
     'alisms' =>[
         'template_cn' => 'SMS_267360101', //国内
         'template_guoji' => 'SMS_463616976', //国际