Exemplo n.º 1
0
        /// <summary>
        /// 查询礼品卡
        /// </summary>
        /// <param name="callback"></param>
        public void QueryGiftCardInfo(ECCentral.QueryFilter.IM.GiftCardFilter filter, int PageSize, int PageIndex, string SortField, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            filter.PageInfo = new ECCentral.QueryFilter.Common.PagingInfo()
            {
                PageSize  = PageSize,
                PageIndex = PageIndex,
                SortBy    = SortField
            };
            string relativeUrl = "/IMService/GiftCardInfo/QueryGiftCardInfo";

            restClient.QueryDynamicData(relativeUrl, filter, callback);
        }
Exemplo n.º 2
0
        public void ExportExcelFile(ECCentral.QueryFilter.IM.GiftCardFilter filter, ColumnSet[] columns)
        {
            string relativeUrl = "/IMService/GiftCardInfo/QueryGiftCardInfo";

            restClient.ExportFile(relativeUrl, filter, columns);
        }