121212
This commit is contained in:
@@ -115,13 +115,7 @@ public class TeamController : ControllerBase
|
||||
{
|
||||
string userId = StateHelper.userId;
|
||||
var teamInfo = await _teamService.GetTeamDataByTeamId(teamId);
|
||||
int isMyTeam = teamInfo.user.Any(it => it.user.userId == userId) ? 1 : 0;
|
||||
int manger = teamInfo.team.masterId == userId ? 1 : 0;
|
||||
return PoAction.Ok(new
|
||||
{
|
||||
data = teamInfo,
|
||||
isMyTeam = isMyTeam
|
||||
});
|
||||
return PoAction.Ok(teamInfo);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user