diff --git a/app/Http/Controllers/Server/H5/EarningController.php b/app/Http/Controllers/Server/H5/EarningController.php index 5a05a65..58aa476 100644 --- a/app/Http/Controllers/Server/H5/EarningController.php +++ b/app/Http/Controllers/Server/H5/EarningController.php @@ -273,8 +273,8 @@ class EarningController extends Controller public function MyWithdraws(Request $request) { try { - $appId = config("service_payment.app_id"); - $mchId = config("service_payment.mch_id"); + $appId = config("wechat.service_payment.app_id"); + $mchId = config("wechat.service_payment.mch_id"); $merchant_id = $request->merchant_id ?? 0; $merchant_user_id = $request->merchant_user_id ?? 0; $list = MEarningwithdraws::whereIn('status', ['finished', 'freezing', "wait_user_confirm"])->where('m_id', $merchant_id)->where('m_user_id', $merchant_user_id)->paginate(); @@ -657,8 +657,8 @@ class EarningController extends Controller $withdraw->status = "wait_user_confirm"; $withdraw->save(); DB::commit(); - $appId = config("service_payment.app_id"); - $mchId = config("service_payment.mch_id"); + $appId = config("wechat.service_payment.app_id"); + $mchId = config("wechat.service_payment.mch_id"); return $this->success('ok', ['status' => 1, "package_info" => $package_info, "app_id" => $appId, "mch_id" => $mchId]); // //修改账号状态