/// <summary> /// 会员签解约维护【1303】 /// </summary> /// <param name="parmaKeyDict"></param> /// <returns></returns> public string BuildString_1303(ExHashTable parmaKeyDict) { string result = string.Empty; //接收的数据 var req = Utils.ToDataResult(parmaKeyDict, GlobalData.B2BSpotVersion); if (req != null) { Req_1303 reqModel = req.ToModel <Req_1303>(); var resModel = new Res_1303(); var notifyResult = new NotifyResult() { ReqData = reqModel, RspData = resModel, DataResult = req }; //处理业务 var handler = BuildHandler.GetHandler(); if (handler != null) { handler.Process(req.FuncCode, notifyResult); } //业务处理成功后更改 响应码:RspCode 为成功 "000000" parmaKeyDict.Set("RspCode", notifyResult.RspStatus.Code); parmaKeyDict.Set("RspMsg", notifyResult.RspStatus.Msg); //返回内容 result = Utils.JoinModelString <Res_1303>(notifyResult.RspData); } return(result); }
public string BuildString_F002(ExHashTable parmaKeyDict) { string result = string.Empty; var req = Utils.ToDataResult(parmaKeyDict, GlobalData.B2BSpotVersion); if (req != null) { var reqModel = req.ToModel <DynamicXml>().To_F002(); var notifyResult = new NotifyResult() { ReqData = reqModel, DataResult = req }; //处理业务 var handler = BuildHandler.GetHandler(); if (handler != null) { handler.Process(req.FuncCode, notifyResult); } //业务处理成功后更改 响应码:RspCode 为成功 "000000" parmaKeyDict.Set("RspCode", notifyResult.RspStatus.Code); parmaKeyDict.Set("RspMsg", notifyResult.RspStatus.Msg); result = string.Join(GlobalData.XMLHeadTemplate, ""); } return(result); }