From eee4d777c39c5622668c841c45f67576f72ac4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=82=9C=E7=BF=94?= <2307953404@qq.com> Date: Sat, 26 Oct 2024 20:04:03 +0800 Subject: [PATCH] 1 --- asg_form/Controllers/Team/Team_http.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asg_form/Controllers/Team/Team_http.cs b/asg_form/Controllers/Team/Team_http.cs index aeb81c3..b84b69e 100644 --- a/asg_form/Controllers/Team/Team_http.cs +++ b/asg_form/Controllers/Team/Team_http.cs @@ -210,7 +210,7 @@ namespace asg_form.Controllers.Team public class TeamFind { public string teamName { get; set; } - public List roleNames { get; set; } + public List roles { get; set; } } [Route("api/v3/form/all")] @@ -257,7 +257,7 @@ namespace asg_form.Controllers.Team .Select(g => new TeamFind { teamName = g.Key.team_name, - roleNames = g.Select(x => x.role_name).ToList() + roles = g.Select(x => x.role_name).ToList() }) .Skip((page - 1) * limit) .Take(limit)