From 85154ef72ae414b1e576e618c4f47a46a442add9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=83=9C=E8=83=9C?= Date: Sun, 10 Sep 2023 16:00:38 +0800 Subject: [PATCH] fix(sys_casbin): UpdateCasbin typo --- server/api/v1/system/sys_casbin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/v1/system/sys_casbin.go b/server/api/v1/system/sys_casbin.go index 632718e2..1add3ee2 100644 --- a/server/api/v1/system/sys_casbin.go +++ b/server/api/v1/system/sys_casbin.go @@ -20,7 +20,7 @@ type CasbinApi struct{} // @Produce application/json // @Param data body request.CasbinInReceive true "权限id, 权限模型列表" // @Success 200 {object} response.Response{msg=string} "更新角色api权限" -// @Router /casbin/UpdateCasbin [post] +// @Router /casbin/updateCasbin [post] func (cas *CasbinApi) UpdateCasbin(c *gin.Context) { var cmr request.CasbinInReceive err := c.ShouldBindJSON(&cmr) -- Gitee