/// <summary> /// 创建讨论组 /// </summary> public bool CreateGroup(CreateGroupInput input, ref CreateGroupOutput output, ref string errMsg) { bool result = HttpCommonMethod <CreateGroupInput, CreateGroupOutput>("/antuser/group.createGroup.do", GlobalVariable.RequestMethod.POST, input, ref output, ref errMsg); if (result && output.result == (int)GlobalVariable.Result.Failure) { errMsg = string.IsNullOrEmpty(output.errorCode) ? "创建讨论组失败" : resources.GetString("E_" + output.errorCode); return(false); } return(result); }
public void Standart(CreateGroupOutput output) { ViewModel = new OkObjectResult(output.Success); }