/// <summary> /// 获取我的易捷抵现劵信息 /// </summary> public static List <YJCouponWithCommodityInfo> GetMyYJCouponInfoWithApp(YJCouponWithCommodityInfoInput input) { input.EsAppId = YJBConsts.YJAppId; var result = Instance.GetMyYJCouponInfoWithApp(input); if (result.IsSuccess) { return(result.Data); } return(null); }
public ResultDTO <List <YJCouponWithCommodityInfo> > GetMyYJCouponInfoWithApp(YJCouponWithCommodityInfoInput input) { ResultDTO <List <YJCouponWithCommodityInfo> > result; try { //LogHelper.Error("YJBSV.GetMyYJCouponInfoWithApp, 获取我的易捷抵现劵信息。 输入:input=" + JsonHelper.JsonSerializer(input)); var facade = new YJB.ISV.Facade.YJBInfoFacade(); //facade.ContextDTO = AuthorizeHelper.CoinInitAuthorizeInfo(); result = facade.GetMyYJCouponInfoWithApp(input); if (!result.IsSuccess) { LogHelper.Error("YJBSV.GetMyYJCouponInfoWithApp服务失败,获取我的易捷抵现劵信息失败。 输入:input=" + JsonHelper.JsonSerializer(input)); } } catch (Exception ex) { LogHelper.Error("YJBSV.GetMyYJCouponInfoWithApp服务异常,获取我的易捷抵现劵信息异常。 输入:input=" + JsonHelper.JsonSerializer(input), ex); result = ResultDTO <List <YJCouponWithCommodityInfo> > .Error(ex); } return(result); }