|
@@ -104,7 +104,17 @@ namespace GxPress.Api.WebControllers
|
|
|
{
|
|
|
return await _groupService.DeleteAsync(request);
|
|
|
}
|
|
|
-
|
|
|
+ /// <summary>
|
|
|
+ /// 添加小组成员
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="request"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpPost("insert-user")]
|
|
|
+ public async Task<bool> AddGroupUser(GroupUserInRequest request)
|
|
|
+ {
|
|
|
+ request.UserId = _loginContext.AccountId;
|
|
|
+ return await _groupService.InsertsAsync(request);
|
|
|
+ }
|
|
|
/// <summary>
|
|
|
/// 退出小组
|
|
|
/// </summary>
|