From bb7280640cabce7bdc9eb22d2d1c50aa3dfbc853 Mon Sep 17 00:00:00 2001 From: dumplin <1277385101@qq.com> Date: Sun, 6 May 2018 23:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.php b/config/routes.php index 23c13b0a..46f505ee 100644 --- a/config/routes.php +++ b/config/routes.php @@ -282,7 +282,7 @@ $app->group('/admin', function () { $this->get('/user/{id}/edit', 'App\Controllers\Admin\UserController:edit'); $this->put('/user/{id}', 'App\Controllers\Admin\UserController:update'); $this->delete('/user', 'App\Controllers\Admin\UserController:delete'); - $this->get('/user/ajax', 'App\Controllers\Admin\UserController:ajax'); + $this->post('/user/ajax', 'App\Controllers\Admin\UserController:ajax'); $this->get('/coupon', 'App\Controllers\AdminController:coupon');