Heim >Web-Frontend >HTML-Tutorial >如何购买火车上下铺?_html/css_WEB-ITnose

如何购买火车上下铺?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:51:091599Durchsuche

以前在网上流传购买火车票上下铺的技巧,方法如下:


我用Chrome测试了,发现没有对应的代码。我把主要的代码粘帖到这:

/*<![CDATA[*/           var integration = 'hide';            var loseTime = 1420343606000;            var ticket_price_fifty = false;            var beginTime = 1420340923596;            var residueTime = 0;            var parOrderDTOJson = '{\"sequence_no\":\"E705339910\",\"order_date\":\"2015-01-04 00:00:00\",\"ticket_totalnum\":1,\"ticket_price_all\":7850.0,\"epayFlag\":\"Y\",\"orders\":[{\"sequence_no\":\"E705339910\",\"order_date\":\"2015-01-04 00:00:00\",\"ticket_totalnum\":1,\"ticket_price_all\":7850.0,\"tickets\":[{\"stationTrainDTO\":{\"station_train_code\":\"K586\",\"from_station_telecode\":\"OSQ\",\"from_station_name\":\"\u6DF1\u5733\u897F\",\"start_time\":\"1970-01-01 09:12:00\",\"to_station_telecode\":\"GZQ\",\"to_station_name\":\"\u5E7F\u5DDE\",\"arrive_time\":\"1970-01-01 11:17:00\",\"distance\":\"162\"},\"passengerDTO\":{\"passenger_name\":\"\u5468\u57F9\u9F99\",\"passenger_id_type_code\":\"1\",\"passenger_id_type_name\":\"\u4E8C\u4EE3\u8EAB\u4EFD\u8BC1\",\"passenger_id_no\":\"421023198908147310\",\"mobile_no\":\"13689509151\",\"total_times\":\"98\"},\"ticket_no\":\"E7053399101160161\",\"sequence_no\":\"E705339910\",\"batch_no\":\"1\",\"train_date\":\"2015-01-05 00:00:00\",\"coach_no\":\"16\",\"coach_name\":\"16\",\"seat_no\":\"0161\",\"seat_name\":\"16\u53F7\u4E0B\u94FA\",\"seat_flag\":\"0\",\"seat_type_code\":\"3\",\"seat_type_name\":\"\u786C\u5367\",\"ticket_type_code\":\"1\",\"ticket_type_name\":\"\u6210\u4EBA\u7968\",\"reserve_time\":\"2015-01-04 00:00:00\",\"limit_time\":\"2015-01-04 11:08:26\",\"lose_time\":\"2015-01-04 11:53:26\",\"pay_limit_time\":\"2015-01-04 11:53:26\",\"realize_time_char\":\"2015-01-04 11:08:26\",\"ticket_price\":7850.0,\"old_ticket_price\":0.0,\"return_total\":7850.0,\"return_cost\":0.0,\"pay_mode_code\":\"Y\",\"payOrderString\":\"2015-01-04 11:08:26\",\"payOrderId\":\"1E705339910001001110826510\",\"amount\":\"7850\",\"amount_char\":1,\"start_train_date_page\":\"2015-01-05 09:12\",\"str_ticket_price_page\":\"78.5\",\"come_go_traveller_ticket_page\":\"N\"}],\"isNeedSendMailAndMsg\":\"N\",\"ticket_total_price_page\":\"78.5\",\"come_go_traveller_order_page\":\"N\",\"canOffLinePay\":\"N\"}]}';            var sequence_no = 'E705339910';            var batch_no = '1#';            var pay_mode = 'Y';            var tour_flag = 'dc';            var interfaceName = null;            var interfaceVersion = null;            var tranData = null;            var merSignMsg = null;            var appId = null;            var transType = null;            var epayurl = null;            var ticketTitleForm = {'arrive_time':'11:17','from_station_name':'\u6DF1\u5733\u897F','start_time':'09:12','station_train_code':'K586','to_station_name':'\u5E7F\u5DDE','tour_flag':'dc','train_date':'2015-01-05','train_headers':null,'week':'\u5468\u4E00'};            var passangerTicketList = [{'amount':'7850','amount_char':1,'batch_no':'1','cancel_flag':null,'coach_name':'16','coach_no':'16','come_go_traveller_ticket_page':'N','confirm_flag':null,'deliver_fee_char':null,'eticket_flag':null,'get_ticket_pass':null,'is_deliver':null,'is_need_alert_flag':null,'limit_time':{'date':4,'day':0,'hours':11,'minutes':8,'month':0,'seconds':26,'time':1420340906000,'timezoneOffset':-480,'year':115},'lose_time':{'date':4,'day':0,'hours':11,'minutes':53,'month':0,'seconds':26,'time':1420343606000,'timezoneOffset':-480,'year':115},'oldPassengerDTO':null,'old_batch_no':null,'old_coach_no':null,'old_seat_no':null,'old_ticket_price':0.0,'order_location_code':null,'passengerDTO':{'address':null,'born_date':null,'code':null,'country_code':null,'email':null,'first_letter':null,'index_id':null,'isUserSelf':null,'mobile_no':'13689509151','old_passenger_id_no':null,'old_passenger_id_type_code':null,'old_passenger_name':null,'p_str':null,'passenger_flag':null,'passenger_id_no':'421023198908147310','passenger_id_type_code':'1','passenger_id_type_name':'\u4E8C\u4EE3\u8EAB\u4EFD\u8BC1','passenger_name':'\u5468\u57F9\u9F99','passenger_type':null,'passenger_type_name':null,'phone_no':null,'postalcode':null,'recordCount':null,'sex_code':null,'sex_name':null,'studentInfoDTO':null,'total_times':'98'},'payOrderId':'1E705339910001001110826510','payOrderString':{'date':4,'day':0,'hours':11,'minutes':8,'month':0,'seconds':26,'time':1420340906000,'timezoneOffset':-480,'year':115},'pay_limit_time':{'date':4,'day':0,'hours':11,'minutes':53,'month':0,'seconds':26,'time':1420343606000,'timezoneOffset':-480,'year':115},'pay_mode':null,'pay_mode_code':'Y','pay_mode_name':null,'print_eticket_flag':null,'rate':null,'realize_time_char':{'date':4,'day':0,'hours':11,'minutes':8,'month':0,'seconds':26,'time':1420340906000,'timezoneOffset':-480,'year':115},'reserve_time':{'date':4,'day':0,'hours':0,'minutes':0,'month':0,'seconds':0,'time':1420300800000,'timezoneOffset':-480,'year':115},'resign_flag':null,'return_cost':0.0,'return_deliver_flag':null,'return_flag':null,'return_price':null,'return_rate':null,'return_total':7850.0,'save_passenger_flag':null,'seat_detail_type_code':null,'seat_detail_type_name':null,'seat_flag':'0','seat_name':'16\u53F7\u4E0B\u94FA','seat_no':'0161','seat_type_code':'3','seat_type_name':'\u786C\u5367','sequence_no':'E705339910','start_train_date_page':'2015-01-05 09:12','stationTrainDTO':{'all_time':null,'arrive_time':{'date':1,'day':4,'hours':11,'minutes':17,'month':0,'seconds':0,'time':11820000,'timezoneOffset':-480,'year':70},'bureau_code':null,'distance':'162','e_flag':null,'from_station_name':'\u6DF1\u5733\u897F','from_station_telecode':'OSQ','id_mode':null,'sale_flag':null,'start_time':{'date':1,'day':4,'hours':9,'minutes':12,'month':0,'seconds':0,'time':4320000,'timezoneOffset':-480,'year':70},'station_train_code':'K586','to_station_name':'\u5E7F\u5DDE','to_station_telecode':'GZQ','trainDTO':null,'train_location_code':null,'w_Sprice':null,'w_Xprice':null,'w_Zprice':null,'z_price':null},'str_ticket_price_page':'78.5','studentInfoDTO':null,'ticket_no':'E7053399101160161','ticket_price':7850.0,'ticket_status_code':null,'ticket_status_name':null,'ticket_type_code':'1','ticket_type_name':'\u6210\u4EBA\u7968','trade_mode':null,'train_date':{'date':5,'day':1,'hours':0,'minutes':0,'month':0,'seconds':0,'time':1420387200000,'timezoneOffset':-480,'year':115}}];            var fcPassangerTicketList = null;            var fcTicketTitleForm = null;            var oldTicketDTOJson = null;            var orderRequestDTOJson = '{\"bureau_code\":\"Q\",\"train_location\":\"Q6\",\"train_date\":\"2015-01-05 00:00:00\",\"train_no\":\"690000K58609\",\"station_train_code\":\"K586\",\"from_station_telecode\":\"OSQ\",\"to_station_telecode\":\"GZQ\",\"from_station_name\":\"\u6DF1\u5733\u897F\",\"to_station_name\":\"\u5E7F\u5DDE\",\"seat_type_code\":\"3\",\"seat_detail_type_code\":\"0\",\"start_time\":\"1970-01-01 09:12:00\",\"end_time\":\"1970-01-01 11:17:00\",\"adult_num\":0,\"child_num\":0,\"student_num\":0,\"disability_num\":0,\"ticket_num\":0,\"id_mode\":\"Y\",\"reserve_flag\":\"A\",\"tour_flag\":\"dc\"}';            var minDate='2015\u5E7401\u670805\u65E5';            var maxDate='2015\u5E7401\u670804\u65E5';            var maxDate2=null;            var defaultDate='01\u670805\u65E5 (\u5468\u4E00)';            var defaultDate2='01\u670804\u65E5 (\u5468\u65E5)';            var canExpress=false;            var canExpressStr='\u51E1\u8D2D\u4E70\u5F53\u65E5\u548C\u6B21\u65E5\u5F00\u8F66\u7684\u8F66\u7968\u4E0D\u914D\u9001\uFF0C\u8D2D\u4E70\u7B2C\u4E09\u65E5\u53CA\u4EE5\u540E\u5F00\u8F66\u7684\u8F66\u7968\u53EF\u4EE5\u914D\u9001\u3002';            var savedExpress=null;            var queryEpayOrder=null;            var pred_date='3';            var pred_date2=null;            var maxStr2=null;            var now_date='2015\u5E7401\u670804\u65E5';            var ts_minDate=1420456123601;            var ts_maxDate=1420473583601;            var canchooseTicket={'1160161OSQGZQ':false};            var showkdts=true;            $.views.helpers({            	substrPName:function(pName){            		if(pName.length>5){            			pName=pName.substr(0,4)+'бн';    			    }            		return pName;            	}            }); /*]]>*/

上面的代码中有一个变量 passangerTicketList,它的取值应该描述了票据的明细。因为我并不熟悉其中的实现,所以不知道如何做。希望大家帮忙下,谢谢。


回复讨论(解决方案)

这个据说早就被封堵了

这个据说早就被封堵了

应该是这样。另外,有人说通过不停的取消订单来提高买到上下铺的概率,我测试了三次,分别是:

这个实际结果和理论概率恰好一致。
当用同一个帐号第四次买票时,系统提示:


多谢1L,jf。
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn