public int GenOrderCRMCustTask(string Verifycode, int CRMStopCustApplyID, string CustID, int ApplyerID, string AreaName, DateTime ApplyTime, int StopStatus, string Remark, string DeleteMemberID, int ApplyType, int ApplyReason, int ApplyRemark, ref string msg) { BLL.Loger.Log4Net.Info("调用了【CRM停用/启用核实】接口,CRMStopCustApplyID:[" + CRMStopCustApplyID + "],CustID:[" + CustID + "],ApplyerID:[" + ApplyerID + "],AreaName:[" + AreaName + "],ApplyTime:[" + ApplyTime.ToString() + "],StopStatus:[" + StopStatus + "],Remark:[" + Remark + "],DeleteMemberID:[" + DeleteMemberID + "],ApplyType:[" + ApplyType + "],ApplyReason:[" + ApplyReason + "],ApplyRemark:[" + ApplyRemark + "]"); int flag = 0; try { if (BLL.CallRecord_ORIG_Authorizer.Instance.Verify(Verifycode, 0, ref msg, "CRM申请停用调用,授权失败")) { flag = 1; CRMStopCustWebService.Insert(CRMStopCustApplyID, CustID, ApplyerID, AreaName, ApplyTime, StopStatus, Remark, DeleteMemberID, ApplyType, ApplyReason, ApplyRemark); return(flag); } else { BLL.Loger.Log4Net.Info("调用了【CRM停用/启用核实】接口,验证失败。Verifycode:【" + Verifycode + "】,IP:【" + System.Web.HttpContext.Current.Request.UserHostAddress + "】"); } return(flag); } catch (Exception ex) { BLL.Loger.Log4Net.Error("调用了【CRM停用/启用核实】接口出现异常:" + ex); return(flag); } }