Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能加入JD新的秒杀功能 #25

Open
oneforgit opened this issue Sep 18, 2017 · 3 comments
Open

能不能加入JD新的秒杀功能 #25

oneforgit opened this issue Sep 18, 2017 · 3 comments

Comments

@oneforgit
Copy link

京东秒杀订单确认网址已经变成了:
https://marathon.jd.com/seckill/seckill.action?skuId=xxxxx&num=1&rid=xxxxx

订单确认POST地址 也变成了:
https://marathon.jd.com/seckill/submitOrder.action?skuId="+skuId+"&vid="+vid

查了一下Jquery:在POST 上述URL是放了一堆收货地址信息:
var param = "orderParam.name="+consigneeName +"&orderParam.addressDetail="+consigneeAddressDetail +"&orderParam.mobile="+consigneeMobile+"&orderParam.email="+email+"&orderParam.provinceId="+provinceId +"&orderParam.cityId="+cityId+"&orderParam.countyId="+countyId+"&orderParam.townId="+townId +"&orderParam.paymentType="+paymentType+"&orderParam.password="+$("#txt_paypassword").val( +"&orderParam.invoiceTitle="+invoiceTitle+"&orderParam.invoiceContent="+invoiceContent+"&orderParam.invoiceCompanyName="+invoiceCompanyName+"&orderParam.invoiceTaxpayerNO="+invoiceTaxpayer+"&orderParam.usualAddressId="+usualAddressId +"&skuId="+skuId+"&num="+num+"&orderParam.provinceName="+provinceName +"&orderParam.cityName="+cityName+"&orderParam.countyName="+countyName+"&orderParam.townName="+townName
+"&orderParam.codTimeType="+codTimeType
+"&orderParam.mobileKey="+consigneeMobileKey+"&eid="+eid+"&fp="+fp;
var actionUrl = SECKILL_DOMAIN + "seckill/submitOrder.action?skuId="+skuId+"&vid="+vid;
jQuery.ajax( {
type : "POST",
dataType : "text",
url : actionUrl,
data : param,
cache : false,
success : ....
.......

能不能把代码加工一下,把这个秒杀的功能也加进去,我知道原理,但是不懂python具体逻辑

@adyzng
Copy link
Owner

adyzng commented Sep 22, 2017

看到邮件了
多谢提供信息
有空更新一下

@ayzhanglei
Copy link

用什么抓的包?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@adyzng @ayzhanglei @oneforgit and others