|
https://www.converse.com.cn/getSkuSize.json?skuCode=102329401&chinaSize=39
返回
{"jmskuCode":"69033130176561201","skuSize":"6","color":"海军蓝","isEnoughStock":true}
--需要抢的
https://www.converse.com.cn/getSkuSize.json?skuCode=159248C001&chinaSize=42
返回
{"jmskuCode":"6902014389642","skuSize":"8.5","color":"黑色","isEnoughStock":true}
https://www.converse.com.cn/nowBuy.htm
post
jmskuCode=69033130176561201&num=1
https://www.converse.com.cn/checkAvailableQty.json?jmskuCode=69033130176561201&num=1
https://www.converse.com.cn/addShoppingCart.htm
post
jmskuCode=69033130176561201&num=1
https://www.converse.com.cn/cart/cartDialog.htm?loxiaflag=1505220890576
post
loxiaflag:1505220890576
1505221185533
https://www.converse.com.cn/checkShoppingItem.json?loxiaflag=1505221336348
jmskuCode=6902014389642&type=check
--获取42的尺码
https://www.converse.com.cn/getSkuSize.json?skuCode=159248C001&chinaSize=42
返回
{"jmskuCode":"6902014389642","skuSize":"8.5","color":"黑色","isEnoughStock":true}
--新的添加到购物车
https://www.converse.com.cn/addFavoriteToShoppingCart.htm
https://www.converse.com.cn/checkout.htm
--提交订单
https://www.converse.com.cn/select/payment-type/invoice.htm
post
paymentType:6
paymentBank:zhifubao
invoiceType:PERSON
companyTax:
companyTitle:
isBuyNow:false
https://www.converse.com.cn/commitOrder.htm?loxiaflag=123
post
isBuyNow:false
返回:
{
"returnCode": "S",
"postItem": {
"body": "Converse官方商城商品",
"subject": "Converse官方商城商品",
"postUrl": "https://mapi.alipay.com/gateway.do",
"sign_type": "MD5",
"notify_url": "http://www.converse.com.cn/payment/141/feedback.htm",
"qr_pay_mode": "4",
"out_trade_no": "V000798903",
"return_url": "https://www.converse.com.cn/paymentconfirm/V000798903.htm",
"sign": "17f52a29dc915576514d35f9d25d62a9",
"_input_charset": "UTF-8",
"exter_invoke_ip": "116.226.74.162",
"total_fee": "478.00",
"service": "create_direct_pay_by_user",
"paymethod": "creditPay",
"partner": "2088001748531133",
"anti_phishing_key": "KPwj2Ut_7B69J7JlLg==",
"seller_email": "conversebrand@jumbomart.cn",
"payment_type": "1",
"qrcode_width": "130"
},
"paymentType": "6",
"postUrl": "https://mapi.alipay.com/gateway.do?service=create_direct_pay_by_user&partner=2088001748531133&subject=Converse%E5%AE%98%E6%96%B9%E5%95%86%E5%9F%8E%E5%95%86%E5%93%81&body=Converse%E5%AE%98%E6%96%B9%E5%95%86%E5%9F%8E%E5%95%86%E5%93%81&seller_email=conversebrand%40jumbomart.cn&_input_charset=UTF-8&out_trade_no=V000798903&total_fee=478.00&payment_type=1&paymethod=creditPay&return_url=https%3A%2F%2Fwww.converse.com.cn%2Fpaymentconfirm%2FV000798903.htm¬ify_url=http%3A%2F%2Fwww.converse.com.cn%2Fpayment%2F141%2Ffeedback.htm&anti_phishing_key=KPwj2Ut_7B69J7JlLg%3D%3D&exter_invoke_ip=116.226.74.162&qr_pay_mode=4&qrcode_width=130&sign=17f52a29dc915576514d35f9d25d62a9&sign_type=MD5&",
"isCanPayment": "canPay",
"soOrder": {
"invoiceDate": null,
"isNeedPacking": false,
"invoiceNo": null,
"linePointUsed": null,
"totalBfDiscount": 478,
"whHandleTime": null,
"financeStatus": 1,
"totalPointUsed": null,
"addPointTotal": 0,
"sysCancelReason": null,
"linePointGained": null,
"invoiceMemo": null,
"dispatchOrder": null,
"transName": null,
"totalActual": 478,
"totalforOrder": 478,
"status": 1,
"orderType": null,
"allowUserCancel": true,
"sendTime": null,
"code": "V000798903",
"invoiceStatus": null,
"sendDate": null,
"deliveryTime": null,
"lastReceiveTime": null,
"isNeedInvoice": false,
"orderPointGained": null,
"paymentCompleteTime": null,
"invoiceContent": "服装服饰",
"createTime": "2017-09-18",
"totalPointGained": null,
"orderFrom": "WEBSHOP",
"memo": "",
"actualTransferFee": 0,
"totalPackingPrice": 0,
"invoiceTitle": null,
"version": "2017-09-18",
"cardNo": null,
"id": 749796,
"totalAfDiscount": 478,
"deliveryTimePeriod": null,
"cancelTime": null,
"paymentType": "6",
"totalLineAmount": 478,
"outerOrderCode": null,
"guestEmail": null,
"payableTransferFee": 0,
"minusPointTotal": 0,
"transCode": null
},
"soId": 749796,
"orderCommand": {
"deliveryTimePeriod": null,
"bless": null,
"invoiceCount": null,
"invoiceType": null,
"companyTax": null,
"couponNum": null,
"invoiceTitle": null
},
"postMethod": "get",
"totalFee": "478.00",
"soCode": "V000798903",
"transferFee": 0,
"org.springframework.validation.BindingResult.orderCommand": {
"globalErrorCount": 0,
"globalError": null,
"objectName": "orderCommand",
"nestedPath": "",
"errorCount": 0,
"fieldError": null,
"fieldErrorCount": 0
},
"soOrderLines": [
{
"totalActual": 478,
"salesActivityEntity": null,
"createTime": "2017-09-18",
"lifeCycleStatus": 1,
"remark": null,
"skuListPrice": 239,
"skuSundry": null,
"skuFob": null,
"skuName": "【男的】Converse Essentials One Star Tee 短袖T恤",
"unitPrice": 239,
"upc": null,
"skuCode": "10006761102",
"size": "S",
"version": "2017-09-18",
"id": 886867,
"priceBfDiscount": 239,
"lineType": 1,
"skuSupcatCode": "10006761",
"requestedQty": 2,
"color": null,
"extentionCode": "6902014387204",
"totalPrice": 478
}
],
"org.springframework.validation.BindingResult.soOrder": {
"globalErrorCount": 0,
"globalError": null,
"objectName": "soOrder",
"nestedPath": "",
"errorCount": 0,
"fieldError": null,
"fieldErrorCount": 0
}
}
--未付款订单
https://www.converse.com.cn/create-posturl.htm
post
soId=749779
返回:
{"postMethod":"get","postItem":{"body":"Converse官方商城商品","subject":"Converse官方商城商品","postUrl":"https://mapi.alipay.com/gateway.do","sign_type":"MD5","notify_url":"http://www.converse.com.cn/payment/6/feedback.htm","out_trade_no":"V000798886","return_url":"http://www.converse.com.cn/paymentconfirm/V000798886.htm","sign":"7f61e549c2f9b8cff0bbfeb947fb4e6f","_input_charset":"UTF-8","exter_invoke_ip":"116.231.89.250","total_fee":"251.00","service":"create_direct_pay_by_user","paymethod":"creditPay","partner":"2088001748531133","anti_phishing_key":"KPwj2Ut_7Bqmxv1WMg==","seller_email":"conversebrand@jumbomart.cn","payment_type":"1"},"postUrl":"https://mapi.alipay.com/gateway.do?service=create_direct_pay_by_user&partner=2088001748531133&subject=Converse%E5%AE%98%E6%96%B9%E5%95%86%E5%9F%8E%E5%95%86%E5%93%81&body=Converse%E5%AE%98%E6%96%B9%E5%95%86%E5%9F%8E%E5%95%86%E5%93%81&seller_email=conversebrand%40jumbomart.cn&_input_charset=UTF-8&out_trade_no=V000798886&total_fee=251.00&payment_type=1&paymethod=creditPay&return_url=http%3A%2F%2Fwww.converse.com.cn%2Fpaymentconfirm%2FV000798886.htm¬ify_url=http%3A%2F%2Fwww.converse.com.cn%2Fpayment%2F6%2Ffeedback.htm&anti_phishing_key=KPwj2Ut_7Bqmxv1WMg%3D%3D&exter_invoke_ip=116.231.89.250&sign=7f61e549c2f9b8cff0bbfeb947fb4e6f&sign_type=MD5&"}
新的添加订单
https://www.converse.com.cn/addFavoriteToShoppingCart.htm
jmskuCode=xxxx
num=1
返回:
{
"result": true,
"org.springframework.validation.BindingResult.listCommand": {
"globalErrorCount": 0,
"globalError": null,
"objectName": "listCommand",
"nestedPath": "",
"errorCount": 0,
"fieldError": null,
"fieldErrorCount": 0
},
"listCommandFull": {
"activityDescs": "",
"claRealPrice": 369,
"serialversionuid": -4060775262316584000,
"activityAmount": 369,
"currentFreight": 0,
"activityIds": "",
"discountAmount": 0,
"cardNo": null,
"originalAmount": 369,
"cardAmount": 0,
"sessionId": null,
"shoppingCartPromptMessage": null,
"originalFreight": 0,
"quantity": 1,
"memberId": null,
"actualAmount": 369
},
"org.springframework.validation.BindingResult.listCommandFull": {
"globalErrorCount": 0,
"globalError": null,
"objectName": "listCommandFull",
"nestedPath": "",
"errorCount": 0,
"fieldError": null,
"fieldErrorCount": 0
},
"listCommand": {
"activityDescs": "",
"claRealPrice": 369,
"serialversionuid": -4060775262316584000,
"activityAmount": 369,
"currentFreight": 0,
"activityIds": "",
"discountAmount": 0,
"cardNo": null,
"originalAmount": 369,
"cardAmount": 0,
"sessionId": null,
"shoppingCartPromptMessage": null,
"originalFreight": 0,
"quantity": 1,
"memberId": null,
"actualAmount": 369
}
}
--设置收获地址
http://www.converse.com.cn/chooseAddress.htm?addressId=123456
get请求
测试商品69033130176871201
--设置支付方式
https://www.converse.com.cn/select/payment-type/invoice.htm
post
paymentType:6
paymentBank:zhifubao
invoiceType:PERSON
isBuyNow:false
返回:
{"paymentBank":"zhifubao","paymentType":"6","deliveTime":"2017年09月19日星期二"}
{"orderCommand":{"deliveryTimePeriod":null,"bless":null,"invoiceCount":null,"invoiceType":null,"companyTax":null,"couponNum":null,"invoiceTitle":null},"exception":"没有游客收货地址信息!","org.springframework.validation.BindingResult.orderCommand":{"globalErrorCount":0,"globalError":null,"objectName":"orderCommand","nestedPath":"","errorCount":0,"fieldError":null,"fieldErrorCount":0}}
上面是分析的,下面附上抢购软件源码吧!
源码下载:
|
上一篇:.net/c# 通用数据库查询工具助手[附源码]下一篇:本站发布的CC压力测试软件真实有用没?
|