| xqd
@@ -27,7 +27,7 @@ class PayController extends Controller
|
|
|
// 必要配置
|
|
|
'app_id' => $wechat->appId,
|
|
|
'mch_id' => $wechat->mchId,
|
|
|
- 'key' => $wechat->key, // API 密钥
|
|
|
+ 'key' => $wechat->key, // API 密钥0
|
|
|
|
|
|
// 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
|
|
|
//'cert_path' => public_path().'/pem/', // XXX: 绝对路径!!!!
|