|
@@ -502,7 +502,7 @@ function payment(User $user){
|
|
|
file_put_contents($key_path,$key);
|
|
|
$config = [
|
|
|
// 必要配置
|
|
|
- 'app_id' => 'wx7aa2e13e35f1dd68',
|
|
|
+ 'app_id' => $appid,
|
|
|
'mch_id' => config('site.mch_id'),
|
|
|
'key' => config('site.mch_secret'),
|
|
|
// 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
|