Browse Source

支付配置等

lizhen_gitee 5 days ago
parent
commit
58e19a56ff
3 changed files with 8 additions and 4 deletions
  1. 3 3
      addons/epay/config.php
  2. 4 0
      application/api/controller/Demo.php
  3. 1 1
      application/config.php

+ 3 - 3
addons/epay/config.php

@@ -7,12 +7,12 @@ return [
         'type' => 'array',
         'content' => [],
         'value' => [
-            'appid' => 'wx6ba019eb2e1f2a7a',
+            'appid' => 'wx9bd85c07f2a73cea',
             'app_id' => '',
             'app_secret' => '',
             'miniapp_id' => '',
-            'mch_id' => '1682465840',
-            'key' => 'ef4d480bb26a236e18f9b9a1fc5e1b53',
+            'mch_id' => '1706002669',
+            'key' => 'a945f5e94465ad50e68154042d7029ab',
             'mode' => 'normal',
             'sub_mch_id' => '',
             'sub_appid' => '',

+ 4 - 0
application/api/controller/Demo.php

@@ -83,4 +83,8 @@ class Demo extends Api
         $this->success('返回成功', ['action' => 'test3']);
     }
 
+    public function wechat_pay_apiv2_secret(){
+        echo md5('wechat_pay_apiv2_secret_xinglian');
+    }
+
 }

+ 1 - 1
application/config.php

@@ -396,7 +396,7 @@ return [
             'active' => '活动设置',
         ],
 
-    //阿里云短信配置,正式
+    //阿里云短信配置, TKEN正式
     'alisms' =>[
         'template_cn' => 'SMS_267360101', //国内
         'template_guoji' => 'SMS_463616976', //国际