Exemplo n.º 1
0
        /// <summary>
        /// 优惠券类型
        /// </summary>
        /// <param name="request">条件实体</param>
        /// <returns></returns>
        public CouponTypeListResponse List(CouponTypeListRequest request)
        {
            string postData = JsonHelper.GetJson(request);
            CouponTypeListResponse response = client.Execute(request, list, postData);

            return(response);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 优惠券类型集合(用于下拉框)
        /// </summary>
        /// <returns></returns>
        public CouponTypeListResponse TypeList()
        {
            CouponTypeListRequest request = new CouponTypeListRequest();
            string postData = JsonHelper.GetJson(request);
            CouponTypeListResponse response = client.Execute(request, typeList, postData);

            return(response);
        }