This commit is contained in:
2026-08-15 01:12:04 +08:00
parent f63acae353
commit 6698e59c3a
45 changed files with 725 additions and 415 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ func (h *Permission) SetButtons(c *gin.Context) {
httpx.Fail(c, "分配失败")
return
}
httpx.OK(c)
httpx.Write(c, httpx.CodeSuccess, gin.H{}, "分配成功")
}
func (h *Permission) CanRemoveButton(c *gin.Context) {
@@ -52,5 +52,5 @@ func (h *Permission) CanRemoveButton(c *gin.Context) {
httpx.Fail(c, "此按钮正在被使用无法删除")
return
}
httpx.OK(c)
httpx.Write(c, httpx.CodeSuccess, gin.H{}, "删除成功")
}