Browse Source

增加wechat配置文件

dev
李可松 4 years ago
parent
commit
346e9e27e6
  1. 31
      config/wechat.php

31
config/wechat.php

@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
return [
'mini_program' => [
'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',''),
],
],
];
Loading…
Cancel
Save