+ -
当前位置:首页 → 问答吧 → 请教一下,这个网址是怎么转化过来的?

请教一下,这个网址是怎么转化过来的?

时间:2011-07-04

来源:互联网

对网页很不熟悉,请教一下各位

这个是淘宝彩票的网址:http://caipiao.taobao.com/lottery/order/united_hall.htm

选择一个【期次】,也就是开奖期数,就会返回不同的期数数据,如

选择 2011077 期返回的网址:
http://caipiao.taobao.com/lottery/order/united_hall.htm?_tb_token_=ee31b65e4eb73&page=1&lottery_type=SSQ&sort_obj=winfee&sort=desc&change_sort=false&lowAmount=&highAmount=&issue=233089&is_not_full=2&amountSec=0-0&commissionRate=-1&creator=

选择 2011076 期返回的网址:
http://caipiao.taobao.com/lottery/order/united_hall.htm?_tb_token_=ee31b65e4eb73&page=1&lottery_type=SSQ&sort_obj=winfee&sort=desc&change_sort=false&lowAmount=&highAmount=&issue=232135&is_not_full=2&amountSec=0-0&commissionRate=-1&creator=

选择 2011075 期返回的网址:
http://caipiao.taobao.com/lottery/order/united_hall.htm?_tb_token_=ee31b65e4eb73&page=1&lottery_type=SSQ&sort_obj=winfee&sort=desc&change_sort=false&lowAmount=&highAmount=&issue=231183&is_not_full=2&amountSec=0-0&commissionRate=-1&creator=

通过对比,得知变动的只有参数“issue”后面的值,应该就是对应的期数了。
问题就来了,为什么

2011077期对应的是issue=233089
2011076期对应的是issue=232135
2011075期对应的是issue=231183



这个是怎么算过来的?

求解,非常感激!!


作者: zhrshe   发布时间: 2011-07-04

可能并不跟时间有关

而是每期在数据库中有一条记录,而这个数字正好是这条记录的标识符

time ,issue
2011077,233089
2011076,232135
2011075,231183

作者: aspwebchh   发布时间: 2011-07-04

issue(应该是ID) time(开奖时间) qishu(期数)
233089 2011-07-xx 7 
232135 2011-07-xx 6
231183 2011-07-xx 5


通过ID,把开奖时间与期数取出来输出的

作者: linux921   发布时间: 2011-07-04

悲剧了,看来不能通过期数来推出issue了……

作者: zhrshe   发布时间: 2011-07-04