Пример #1
0
        /// <summary>
        ///   添加现金卡券接口
        /// </summary>
        /// <param name="cardReq"></param>
        /// <returns></returns>
        public async Task <WxAddCardResp> AddCashCardAsync(WxCashCardMo cardReq)
        {
            var data = new { card_type = WxCardType.CASH, cash = cardReq };

            return(await AddCardAsync(data));
        }
Пример #2
0
        /// <summary>
        ///   添加现金卡券接口
        /// </summary>
        /// <param name="cardReq"></param>
        /// <returns></returns>
        public WxAddCardResp AddCashCard(WxCashCardMo cardReq)
        {
            var data = new { card_type = WxCardType.CASH, cash = cardReq };

            return(AddCard(data));
        }