public ObjectResultEx EditComplain(RequestGovtComplain Param) { if (string.IsNullOrEmpty(Param.Center)) { var SessionCode = CacheFactory.Cache().GetCache <string>("PhoneCode").Trim(); if (SessionCode.Equals(Param.Code)) { return(ObjectResultEx.Instance(GovtWebService.EditComplain(Param), 1, RetrunMessge.SUCCESS, HttpCode.Success)); } else { return(ObjectResultEx.Instance("验证码不正确!", 1, RetrunMessge.SUCCESS, HttpCode.Success)); } } else { return(ObjectResultEx.Instance(GovtWebService.EditComplain(Param), 1, RetrunMessge.SUCCESS, HttpCode.Success)); } }