From 346e9e27e69237f53125f300df86a4e35bd98020 Mon Sep 17 00:00:00 2001 From: liapples Date: Fri, 23 Jul 2021 17:21:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0wechat=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/wechat.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 config/wechat.php diff --git a/config/wechat.php b/config/wechat.php new file mode 100644 index 0000000..ba49fe2 --- /dev/null +++ b/config/wechat.php @@ -0,0 +1,31 @@ + [ + 'default' => [ + 'app_id' => env('APP_ID', ''), + 'secret' => env('APP_SECRET', ''), + 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''), + 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''), + 'response_type' => 'array', + 'log' => [ + 'level' => 'debug', + 'file' => storage_path('wechatlogs/applet'.date('Y-m-d-H').'.log'), + ], + ], + ], + 'payment' => [ + 'default' => [ + 'app_id' => env('APP_ID',''), + 'mch_id' => env('MCH_ID',''), + 'key' => env('MCH_KEY',''), + 'cert_path' => env('CERT_PATH',''), + 'key_path' => env('KEY_PATH',''), + 'notify_url' => env('NOTIFY_URL',''), + 'refund_notify_url' => env('REFUND_NOTIFY_URL',''), + 'wechat_cret_path' => env('WECHAT_CERT_PATH',''), + 'serial_number' => env('SERIAL_NUMBER',''), + ], + ], +];