From 9db8347518ddbda7fa8cc8e58211f6be32072a40 Mon Sep 17 00:00:00 2001 From: Hankin Date: Fri, 24 Apr 2026 16:27:47 +0800 Subject: [PATCH] transfer --- app/Http/Controllers/Server/H5/EarningController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Server/H5/EarningController.php b/app/Http/Controllers/Server/H5/EarningController.php index 63f0f16..1c501e3 100644 --- a/app/Http/Controllers/Server/H5/EarningController.php +++ b/app/Http/Controllers/Server/H5/EarningController.php @@ -273,7 +273,7 @@ class EarningController extends Controller public function MyWithdraws(Request $request) { try { - $appId = config("wechat.app_id"); + $appId = config("wechat.service_payment.app_id"); $mchId = config("wechat.payment.mch_id"); $merchant_id = $request->merchant_id ?? 0; $merchant_user_id = $request->merchant_user_id ?? 0; @@ -657,7 +657,7 @@ class EarningController extends Controller $withdraw->status = "wait_user_confirm"; $withdraw->save(); DB::commit(); - $appId = config("wechat.app_id"); + $appId = config("wechat.service_payment.app_id"); $mchId = config("wechat.payment.mch_id"); return $this->success('ok', ['status' => 1, "package_info" => $package_info, "app_id" => $appId, "mch_id" => $mchId]);