架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 123535|回复: 117

[资料] .net/c# 匡威官网抢购软件[源码]

  [复制链接]
发表于 2017-10-31 09:46:42 | 显示全部楼层 |阅读模式
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&notify_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&notify_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}}

QQ截图20171031094623.jpg

上面是分析的,下面附上抢购软件源码吧!

源码下载:

游客,如果您要查看本帖隐藏内容请回复






上一篇:.net/c# 通用数据库查询工具助手[附源码]
下一篇:本站发布的CC压力测试软件真实有用没?
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-2-1 10:40:14 | 显示全部楼层
790668636 发表于 2019-1-30 21:36
提示没有游客地址信息,求解

表示玩都不会玩,你是怎么玩出提示的?游客地址看他的代码里写的字段的值好像是随便写的吧
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-2-28 21:01:58 | 显示全部楼层
windshan 发表于 2019-2-17 13:24
安装成功!我为你预设了几条回复消息,你可以删除它们重新添加~

你更新了这个版本了?
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 11:59:00 | 显示全部楼层
好{:1_1:}好{:1_1:}好{:1_1:}好{:1_1:}好{:1_1:}好{:1_1:}好
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 11:00:39 | 显示全部楼层
支持
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 12:03:35 | 显示全部楼层
1少时诵诗书
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 16:06:43 | 显示全部楼层
谢谢分享,来看看
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 17:30:02 | 显示全部楼层
好好好好好好好好好好好好好好好好
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 20:41:56 | 显示全部楼层
支持一下
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 22:52:38 | 显示全部楼层
学习学习
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-10-31 23:07:57 | 显示全部楼层
楼主很厉害,支持下
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2017-11-1 09:59:04 | 显示全部楼层
哪个官网
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2024-3-29 05:00

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表