Esempio n. 1
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveCommoditySpreadPercent(Jinher.AMP.BTP.Deploy.CustomDTO.CommodityShareInfoDTO dto)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.SaveCommoditySpreadPercent(dto);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Esempio n. 2
0
 /// <summary>
 /// 保存推广主的分享分成比例。
 /// </summary>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO SaveCommoditySpreadPercent(Jinher.AMP.BTP.Deploy.CustomDTO.CommodityShareInfoDTO dto)
 {
     base.Do();
     return(this.SaveCommoditySpreadPercentExt(dto));
 }