|
@@ -221,6 +221,25 @@ return [
|
|
|
'file' => env('runtime_path').'/log/wechat.log',
|
|
|
],
|
|
|
],
|
|
|
+ //-----陪护微信小程序配置---------
|
|
|
+ 'wx_mini_config_ph' => [
|
|
|
+ 'app_id' => 'wx24a33c5d6e3816d6',
|
|
|
+ 'secret' => 'b916c6c34cdfcf595359cce0e4dd016c',
|
|
|
+ 'mch_id' => '1685985755', // 商户号
|
|
|
+ 'key' => '29452e7ad4db9fb53ddc1a8ab66ecb2a', // API 密钥 操作密码:667421
|
|
|
+
|
|
|
+ // 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
|
|
|
+ 'cert_path' => env('root_path').'public/certs/apiclient_cert.pem',
|
|
|
+ 'key_path' => env('root_path').'public/certs/apiclient_key.pem',
|
|
|
+ // 下面为可选项
|
|
|
+ // 指定 API 调用返回结果的类型:array(default)/collection/object/raw/自定义类名
|
|
|
+ 'response_type' => 'array',
|
|
|
+
|
|
|
+ 'log' => [
|
|
|
+ 'level' => 'error',
|
|
|
+ 'file' => env('runtime_path').'/log/wechat.log',
|
|
|
+ ],
|
|
|
+ ],
|
|
|
//------微信公众号配置---------
|
|
|
/* 'wx_config' => [
|
|
|
'app_id' => 'wx2f0195c58ad8c3ec',
|