コード例 #1
0
        public List <ExchangePacket> GetExchangePacketList(ref DataPage dp, ExchangePacket searchExchangePacket)
        {
            _admin = new PuzzleEventAdminService.PuzzleEventAdminServiceClient();
            List <ExchangePacket> lists = new List <ExchangePacket>();

            try
            {
                lists = _admin.GetExchangePacketList(ref dp, searchExchangePacket);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetExchangePacketList 获取拼图碎片礼包列表失败");
                return(lists);
            }
        }