From 99623a72039c6d83778145b17df1545e6c433351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=87=E8=AE=BE=E5=8F=AF=E4=BB=A5=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E7=9A=84=E8=AF=9D?= <1156803767@qq.com> Date: Wed, 14 Jun 2023 13:09:27 +0000 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 假设可以如果的话 <1156803767@qq.com> --- app/router/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/system.go b/app/router/system.go index 8d8b302..c79d356 100644 --- a/app/router/system.go +++ b/app/router/system.go @@ -40,7 +40,7 @@ func SystemRouter(r *gin.Engine) { sr.GET("admin/edit", handler.AdminEdit) sr.POST("admin/edit", handler.AdminEdit) sr.POST("admin/status", handler.AdminStatus) - r.DELETE("admin/delete", handler.AdminDelete) + sr.DELETE("admin/delete", handler.AdminDelete) // role 角色管理列表页 sr.GET("role/list", handler.RoleList) -- Gitee