示例#1
0
        /// <summary>
        ///   添加礼品卡券接口
        /// </summary>
        /// <param name="cardReq"></param>
        /// <returns></returns>
        public async Task <WxAddCardResp> AddGiftCardAsync(WxGiftCardMo cardReq)
        {
            var data = new { card_type = WxCardType.GIFT, gift = cardReq };

            return(await AddCardAsync(data));
        }
示例#2
0
        /// <summary>
        ///   添加礼品卡券接口
        /// </summary>
        /// <param name="cardReq"></param>
        /// <returns></returns>
        public WxAddCardResp AddGiftCard(WxGiftCardMo cardReq)
        {
            var data = new { card_type = WxCardType.GIFT, gift = cardReq };

            return(AddCard(data));
        }