Merge branch 'feature-nxdev' of https://gitea.nxsir.cn/code/IM into feature-nxdev
This commit is contained in:
@@ -88,5 +88,13 @@ namespace IM_API.Controllers
|
||||
var groupinfo = await _groupService.UpdateGroupInfoAsync(int.Parse(useridStr), groupId, dto);
|
||||
return Ok(new BaseResponse<GroupInfoVo>(groupinfo));
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[ProducesResponseType(typeof(BaseResponse<GroupInfoVo>), StatusCodes.Status200OK)]
|
||||
public async Task<IActionResult> GetGroupInfo([FromQuery]int groupId)
|
||||
{
|
||||
var group = await _groupService.GetGroupInfoAsync(groupId);
|
||||
return Ok(new BaseResponse<GroupInfoVo>(group));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user