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 () {