Beispiel #1
0
        public TVMResult <TVMExtendData> TransparentTVM(TVMExtendData obj)
        {
            _log.Info("透传接口TransparentTVM:" + JsonHelper.ObjectToJsonStr(obj));
            TVMResult <TVMExtendData> result = new TVMResult <TVMExtendData>();

            result.ResultCode = 0;
            result.SysDate    = DateTime.Now;
            result.Data       = _TVMFacadeService.GetScanTicketList(obj);
            return(result);
        }
Beispiel #2
0
        public TVMExtendData GetScanTicketList(TVMExtendData model)
        {
            var queryData = _ticketService.CheckTVMTicketQueryDataRequest(model.Data);

            if (queryData == null)
            {
                model.Data = "";
                return(model);
            }
            var ticketList = _ticketService.GetScanTicketList(UserKey.ScenicId, queryData.playTime);

            model.Data = JsonHelper.ObjectToJsonStr(ticketList);
            return(model);
        }