diff --git a/app/admin/hdl/hdl_role.go b/app/admin/hdl/hdl_role.go index 908d5c5..76a1422 100644 --- a/app/admin/hdl/hdl_role.go +++ b/app/admin/hdl/hdl_role.go @@ -121,8 +121,8 @@ func RoleList(c *gin.Context) { }{ Name: admin.Username, }) - result = append(result, &temp) } + result = append(result, &temp) } e.OutSuc(c, map[string]interface{}{ "list": result,