Skip to content

Instantly share code, notes, and snippets.

@thisiswei
Created May 21, 2021 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thisiswei/a51eb375fcfb4c27fdccf28f797740b2 to your computer and use it in GitHub Desktop.
Save thisiswei/a51eb375fcfb4c27fdccf28f797740b2 to your computer and use it in GitHub Desktop.
landingpage.js
/*
curl -H 'Host: mall.xsyxsc.com' -H 'accept: application/json, text/plain, */*' -H 'content-type: application/json' -H 'origin: https://image.xsyxsc.com' -H 'referer: https://image.xsyxsc.com/item/cms/activityLandingPage/release/20210521/2021052114143131669-1.html?pageCode=2021052114143131669&storeId=66880000772786&storeName=%E5%85%B4%E7%9B%9B%E4%BC%98%E9%80%89%E7%81%BC%E7%8E%89%E5%BA%97&cityCode=3502&areaCode=350203&provinceCode=35&channelUse=WXAPP&saleRegionCode=112&isReport=true&userKey=&v=1.2&isIphoneX=false&t=1621610989604' -H 'userkey: ' -H 'accept-language: en-us' -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.14(0x17000e2e) NetType/WIFI Language/en miniProgram' --data-binary '{"windowName":"十点爆款","areaId":"112","storeId":"66880000772786","includeStoreGroup":true}' --compressed 'https://mall.xsyxsc.com/cms/queryLandingPageProduct'
*/
{
"success": true,
"data": [{
"cmsIndexProductDto": {
"prId": 876260,
"acId": 767085,
"preId": 5164746,
"sku": "0863898",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVIQzc=.jpg",
"prName": "金牛煌 贵妃芒果 400g/袋 正负50g",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 10000.0,
"ulimitQty": 10.0,
"marketAmt": 6.5,
"saleAmt": 1.99,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": null,
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005130429",
"marketAmtSourceType": "参考线上商城",
"vesName": "海龙便利店",
"attrs": [{
"name": "规格",
"attr": "400g/袋 正负50g"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 890,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521956545112121699",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210511/MWRhNjM=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 484,
"secondLevelCategoryId": 1215,
"eskuSn": "01202105211129565455112673"
},
"cmsMarketingDataDto": {
"spuSn": "20210521956545112121699",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 1307,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 106,
"salePct": 0.0,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": 10000,
"wantBuyQtyTotal": "500+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 810478,
"acId": 767273,
"preId": 5170871,
"sku": "0796272",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKbUo=.jpg",
"prName": "【黄心】上舟 五谷杂粮蛋 4枚/盒",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 5000.0,
"ulimitQty": 1.0,
"marketAmt": 5.9,
"saleAmt": 2.99,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": "常温30天",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005137254",
"marketAmtSourceType": "参考厂家定价",
"vesName": "裕兴商行",
"attrs": [{
"name": "规格",
"attr": "4枚/盒"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 4017,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521644672112129222",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210417/MTljMjc=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 587,
"secondLevelCategoryId": 589,
"eskuSn": "01202105211126446725119695"
},
"cmsMarketingDataDto": {
"spuSn": "20210521644672112129222",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 2334,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 396,
"salePct": 0.0,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": 50,
"wantBuyQtyTotal": "500+",
"saleLimitType": "SPUSN_STORE"
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 858331,
"acId": 767262,
"preId": 5170431,
"sku": "0845423",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKaFA=.jpg",
"prName": "果幼幼 白糖罂荔枝 250g/盒",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 31.48,
"saleAmt": 6.8,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": null,
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005136686",
"marketAmtSourceType": "参考线上商城",
"vesName": "华盛农业",
"attrs": [{
"name": "规格",
"attr": "250g/盒"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 890,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521199233112128648",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210505/MWNiTlY=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 484,
"secondLevelCategoryId": 1244,
"eskuSn": "01202105211121992335119219"
},
"cmsMarketingDataDto": {
"spuSn": "20210521199233112128648",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 187,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 11,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "100+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 790962,
"acId": 767317,
"preId": 5172664,
"sku": "0776262",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKUzE=.jpg",
"prName": "多吉美 小黄鸭抽纸 10包/提",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 15.9,
"saleAmt": 7.99,
"prType": "CHOICE",
"areaId": 112,
"shelfLife": "常温3年",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005137194",
"marketAmtSourceType": "参考线上商城",
"vesName": "耀健纸品",
"attrs": [{
"name": "规格",
"attr": "10包/提"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 1364,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521124928112130159",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210406/MTc2SzU=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 817,
"secondLevelCategoryId": 820,
"eskuSn": "00202105211121249285120632"
},
"cmsMarketingDataDto": {
"spuSn": "20210521124928112130159",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 70,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 3,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "10+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 747785,
"acId": 767149,
"preId": 5166681,
"sku": "0731924",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVJZnY=.jpg",
"prName": "苏菲 超熟睡420极上薄Air卫生巾 夜用 42cm/片 4片/包",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 9.5,
"saleAmt": 4.99,
"prType": "CHOICE",
"areaId": 112,
"shelfLife": "36个月",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005132911",
"marketAmtSourceType": "参考线上商城",
"vesName": "粟杭日用",
"attrs": [{
"name": "规格",
"attr": "42cm/片 4片/包"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 1364,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521372034112124773",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210311/MTJaWEo=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 817,
"secondLevelCategoryId": 826,
"eskuSn": "00202105211123720345115444"
},
"cmsMarketingDataDto": {
"spuSn": "20210521372034112124773",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 162,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 10,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "100+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 870308,
"acId": 767262,
"preId": 5170430,
"sku": "0857922",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKaE8=.jpg",
"prName": "宅鲜客 单冻鸡翅根 500g/包",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 21.9,
"saleAmt": 6.99,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": "冷冻12个月",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005136685",
"marketAmtSourceType": "参考线上商城",
"vesName": "鸿财源食品",
"attrs": [{
"name": "规格",
"attr": "500g/包"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 4018,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521199233112128647",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20201112/UGFSRA==.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 556,
"secondLevelCategoryId": 565,
"eskuSn": "01202105211121992335119218"
},
"cmsMarketingDataDto": {
"spuSn": "20210521199233112128647",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 98,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 8,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "10+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 768617,
"acId": 767299,
"preId": 5171639,
"sku": "0753111",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKQlA=.jpg",
"prName": "天虹 电热蚊香液套装 1盒 蚊香液45mlX2瓶十加热器X1个",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 16.0,
"saleAmt": 8.9,
"prType": "CHOICE",
"areaId": 112,
"shelfLife": "2年",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005138373",
"marketAmtSourceType": "参考厂家定价",
"vesName": "多康成商行",
"attrs": [{
"name": "规格",
"attr": "1盒 蚊香液45mlX2瓶十加热器X1个"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 1364,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521321475112130234",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210324/MTRXWng=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 828,
"secondLevelCategoryId": 845,
"eskuSn": "00202105211123214755121003"
},
"cmsMarketingDataDto": {
"spuSn": "20210521321475112130234",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 70,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 6,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "10+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 864151,
"acId": 767273,
"preId": 5170873,
"sku": "0851565",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKbUw=.jpg",
"prName": "俊昇 黑木耳 约150g/盒",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 7.5,
"saleAmt": 1.5,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": null,
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005137256",
"marketAmtSourceType": "参考线上商城",
"vesName": "俊昇食用菌",
"attrs": [{
"name": "规格",
"attr": "约150g/盒"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 897,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521644672112129224",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20201024/TnRzZw==.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": true,
"saleable": true,
"firstLevelCategoryId": 376,
"secondLevelCategoryId": 1178,
"eskuSn": "01202105211126446725119697"
},
"cmsMarketingDataDto": {
"spuSn": "20210521644672112129224",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 107,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 12,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "100+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 862085,
"acId": 767299,
"preId": 5171647,
"sku": "0849523",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKQlg=.jpg",
"prName": "诗俊 红苋菜 约400g/袋",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 0.0,
"marketAmt": 5.31,
"saleAmt": 1.79,
"prType": "BRAND_HOUSE",
"areaId": 112,
"shelfLife": null,
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005138381",
"marketAmtSourceType": "参考线上商城",
"vesName": "诗俊王果蔬",
"attrs": [{
"name": "规格",
"attr": "约400g/袋"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 897,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521321475112130242",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/primaryImageList/20200421/100percent_a073faab-a9be-4365-9fdb-1704b61541781587447149825.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": true,
"saleable": true,
"firstLevelCategoryId": 376,
"secondLevelCategoryId": 1151,
"eskuSn": "01202105211123214755121011"
},
"cmsMarketingDataDto": {
"spuSn": "20210521321475112130242",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 94,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 14,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "100+",
"saleLimitType": null
},
"cmsLiveDto": null
}, {
"cmsIndexProductDto": {
"prId": 517973,
"acId": 767314,
"preId": 5172652,
"sku": "0488399",
"dailySaleTime": null,
"tmBuyStart": "2021-05-22 10:00:00",
"tmBuyEnd": "2021-05-22 23:00:00",
"tmShowStart": "2021-05-22 00:00:00",
"tmShowEnd": "2021-05-22 23:00:00",
"adUrl": "https://image.xsyxsc.com/item/storePromotion/poster/20210521/MWVKSnU=.jpg",
"prName": "卡士 鲜酪乳风味发酵乳 原味 120g/杯 3杯/组",
"tmPickUp": "2021-05-23 16:00:00",
"limitQty": 0.0,
"ulimitQty": 1.0,
"marketAmt": 11.5,
"saleAmt": 8.9,
"prType": "CHOICE",
"areaId": 112,
"shelfLife": "25天",
"hasLive": false,
"productStorage": 0,
"videoUrl": "",
"hasPriceList": false,
"skuSn": "005139679",
"marketAmtSourceType": "参考超市",
"vesName": "鑫郡汇贸易",
"attrs": [{
"name": "规格",
"attr": "3杯/组"
}],
"specialSale": "FALSE",
"saleStatus": null,
"windowId": 3686,
"sortSeq": 99999,
"existsInAct": false,
"verificationCode": false,
"spuSn": "20210521370241112131552",
"isNextDayPickUp": true,
"assignType": 0,
"imgUrl": "http://image.xsyxsc.com/item/20210309/MTJIdUY=.jpg",
"utvList": null,
"hasExplainVideo": false,
"explainUtvId": null,
"hasCookbook": false,
"saleable": true,
"firstLevelCategoryId": 664,
"secondLevelCategoryId": 668,
"eskuSn": "00202105211123702415122030"
},
"cmsMarketingDataDto": {
"spuSn": "20210521370241112131552",
"saleQty": 0.0,
"daySaleQty": 0.0,
"folQty": 46,
"consumers": null,
"viewNum": 0,
"likeNum": 0,
"wantBuyQty": 3,
"salePct": -0.1,
"saleQtyTotal": "0",
"dailySaleQtyTotal": "0",
"saleRemain": -1,
"wantBuyQtyTotal": "10+",
"saleLimitType": null
},
"cmsLiveDto": null
}],
"rspCode": "success",
"rspDesc": "操作成功"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment