刘远航 4 anos atrás
pai
commit
3c11ab85ff
2 arquivos alterados com 4 adições e 4 exclusões
  1. 2 2
      app/Helpers/functions.php
  2. 2 2
      config/config.php

+ 2 - 2
app/Helpers/functions.php

xqd xqd
@@ -564,7 +564,7 @@ if (!function_exists('send_wechatSubscription_message')) {
     function send_wechatSubscription_message($type, $arr)
     {
         try {
-            $app = Factory::miniProgram(config('config.docter_wechat_officialAccount'));
+            $app = Factory::miniProgram(config('config.docter_wechat_small_program'));
             $data = config('config.wechatSubscription_template')[$type];
             $json = json_encode($data, JSON_UNESCAPED_UNICODE);
             $json = vsprintf($json, $arr);
@@ -575,4 +575,4 @@ if (!function_exists('send_wechatSubscription_message')) {
         }
         return $result ?? false;
     }
-}
+}

+ 2 - 2
config/config.php

xqd
@@ -23,8 +23,8 @@ return [
     ],
 
     'docter_wechat_small_program' => [
-        'app_id' => env('DOCTRER_WECHAT_APPID', 'wx92066f7587c34617'),
-        'secret' => env('DOCTRER_WECHAT_APPSECRET', 'bd7849c5259b79c41ec158173c5fb1d6'),
+        'app_id' => env('DOCTRER_WECHAT_APPID', 'wx1dcbf8ce4bca6870'),
+        'secret' => env('DOCTRER_WECHAT_APPSECRET', 'wx1dcbf8ce4bca6870'),
     ],
 
     'wechat_pay' => [