From 4bed5873bb078691ef1336be0eb2aaeec46e40cf Mon Sep 17 00:00:00 2001 From: tomatofishball <50076952+tomatofishball@users.noreply.github.com> Date: Mon, 29 Apr 2019 23:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=95=AA=E8=8C=84=E4=BA=91?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=9B=9E=E8=B0=83=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加番茄云支付回调路由 --- config/routes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.php b/config/routes.php index a747e627..bcaadf06 100755 --- a/config/routes.php +++ b/config/routes.php @@ -79,6 +79,8 @@ $app->get('/yft/notify', 'App\Services\Gateway\YftPay:notify');//yft uses GET $app->get('/tos', 'App\Controllers\HomeController:tos'); $app->get('/staff', 'App\Controllers\HomeController:staff'); $app->post('/telegram_callback', 'App\Controllers\HomeController:telegram'); +$app->post('/tomato_back/{type}', 'App\Services\Payment:notify'); +$app->get('/tomato_back/{type}', 'App\Services\Payment:notify'); // User Center $app->group('/user', function () {