mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-07 17:53:42 +08:00
feat(ui): 403,没权限
This commit is contained in:
@@ -71,7 +71,7 @@ func (h *ProductHandler) Save(c *gin.Context) {
|
||||
// List 模型列表
|
||||
func (h *ProductHandler) List(c *gin.Context) {
|
||||
if err := utils.CheckPermission(c, h.db); err != nil {
|
||||
resp.ERROR(c, types.NoPermission)
|
||||
resp.NotPermission(c)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user