@@ -132,7 +132,7 @@ func UserList(c *gin.Context, apictx *ApiSession) (interface{}, error) {
}, &role)
}
// 拼接角色信息
- result.List[i]["roleInfo"] = role
+ result.List[i]["roleInfo"] = &role
return result, err