Merge branch 'feature-nxdev' of https://gitea.nxsir.cn/code/IM into feature-nxdev

This commit is contained in:
2026-03-09 13:16:16 +08:00
14 changed files with 826 additions and 15 deletions
@@ -77,5 +77,16 @@ namespace IM_API.Controllers
var members = await _groupService.GetGroupMembers(int.Parse(useridStr), groupId);
return Ok(new BaseResponse<List<GroupMemberVo>>(members));
}
[HttpPost]
[ProducesResponseType(typeof(BaseResponse<GroupInfoVo>), StatusCodes.Status200OK)]
public async Task<IActionResult> UpdateGroup([FromQuery]int groupId, [FromBody]GroupUpdateDto dto)
{
var useridStr = User.FindFirstValue(ClaimTypes.NameIdentifier);
var groupinfo = await _groupService.UpdateGroupInfoAsync(int.Parse(useridStr), groupId, dto);
return Ok(new BaseResponse<GroupInfoVo>(groupinfo));
}
}
}