/// <summary> /// 查询活动 /// </summary> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionSearchResultDTO> > GetPromotions(Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionSearchDTO input) { base.Do(); return(this.Command.GetPromotions(input)); }
public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionSearchResultDTO> > GetPromotions(Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionSearchDTO input) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <Jinher.AMP.BTP.Deploy.CustomDTO.ListResult <Jinher.AMP.BTP.Deploy.CustomDTO.PresentPromotionSearchResultDTO> > result; try { //调用代理方法 result = base.Channel.GetPromotions(input); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }