|
@@ -121,8 +121,8 @@ func RoleList(c *gin.Context) { |
|
|
}{ |
|
|
}{ |
|
|
Name: admin.Username, |
|
|
Name: admin.Username, |
|
|
}) |
|
|
}) |
|
|
result = append(result, &temp) |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
result = append(result, &temp) |
|
|
} |
|
|
} |
|
|
e.OutSuc(c, map[string]interface{}{ |
|
|
e.OutSuc(c, map[string]interface{}{ |
|
|
"list": result, |
|
|
"list": result, |
|
|