From 206036382ebd1c72594165b328bc7858b1870499 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sat, 4 Feb 2023 02:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=9D=E5=9B=9E=E8=B0=83=20404=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 4 ++-- routes/web.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 55a9857..088b197 100644 --- a/.env.example +++ b/.env.example @@ -60,8 +60,8 @@ ALIPAY_APP_SECERT_CERT_PATH= ALIPAY_APP_PUBLIC_CERT_PATH= ALIPAY_PUBLIC_CERT_PATH= ALIPAY_ROOT_CERT_PATH= -ALIPAY_CALLBACK_RETURN_URL= -ALIPAY_CALLBACK_NOTIFY_URL= +ALIPAY_CALLBACK_RETURN_URL=${APP_URL}/balances/notify/alipay +ALIPAY_CALLBACK_NOTIFY_URL=${APP_URL}/balances/notify/alipay WECHAT_MENCENT_ID= WECHAT_V2_API_KEY= diff --git a/routes/web.php b/routes/web.php index aeda435..6adb106 100644 --- a/routes/web.php +++ b/routes/web.php @@ -61,7 +61,7 @@ function () { Route::get('transactions', [BalanceController::class, 'transactions'])->name('transactions'); Route::resource('balances', BalanceController::class)->except('show'); - Route::get('/balances/{balance:order_id}', [BalanceController::class, 'show'])->withoutMiddleware('auth')->name('balances.show'); + Route::get('/balances/{abalance:order_id}', [BalanceController::class, 'show'])->withoutMiddleware('auth')->name('balances.show'); Route::middleware(['real_named', 'password.confirm'])->group( function () {