/// <summary> /// 更新讨论组设置 /// </summary> /// <param name="input"></param> /// <param name="output"></param> /// <param name="errMsg"></param> /// <returns></returns> public bool UpdateGroupConfig(UpdateGroupConfigInput input, ref BaseOutput output, ref string errMsg) { bool result = HttpCommonMethod <UpdateGroupConfigInput, BaseOutput>("/antuser/group.updateGroupConfig.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); }
/// <summary> /// 获取平台SDK输入 /// </summary> /// <returns></returns> internal UpdateGroupConfigInput GetSdk() { var sdk = new UpdateGroupConfigInput { userId = userId, groupId = groupId, state = state }; return(sdk); }