test(wxapi): 适配新的模型测试

This commit is contained in:
Fu Diwei 2021-06-09 17:10:20 +08:00
parent 0fdbbffd7e
commit 06a4ce8ee4
18 changed files with 485 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{
"errcode": 0,
"errmsg": "ok",
"orderList": [
{
"orderId": "1952315038682581",
"payTime": 1612355317,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_CANCELED",
"commission": "¥0",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
},
"customizeInfo": "customizeInfo"
}
]
}
]
}

View File

@ -0,0 +1,219 @@
{
"errcode": 0,
"errmsg": "ok",
"orderList": [
{
"orderId": "1952315038682581",
"payTime": 1612355317,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_CANCELED",
"commission": "¥0",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
},
"customizeInfo": "customizeInfo"
}
]
},
{
"orderId": "1952881854014581",
"payTime": 1612354844,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1540485153563887",
"payTime": 1612346038,
"shopName": "xxx",
"productList": [
{
"productId": "6363741",
"title": "美工刀",
"thumbImg": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥1.00",
"ratio": 500,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "美工刀",
"promotionInfo": {
"promotionSourcePid": "oqt8u5NJAsZ4TN0eNVDN5J_1KUOs_1497740816",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1140092624903333",
"payTime": 1612345602,
"shopName": "xxx",
"productList": [
{
"productId": "6363741",
"title": "美工刀",
"thumbImg": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥1.00",
"ratio": 500,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "美工刀",
"promotionInfo": {
"promotionSourcePid": "oqt8u5NJAsZ4TN0eNVDN5J_1KUOs_1497740816",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1952328751053581",
"payTime": 1612333478,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1952872372026581",
"payTime": 1612233926,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1508732341607753",
"payTime": 1612233673,
"shopName": "xxx小商店",
"productList": [
{
"productId": "4085505",
"title": "身体护理",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥0.20",
"ratio": 9000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "11",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1976456848299426",
"payTime": 1611893169,
"shopName": "xxx小商店",
"productList": [
{
"productId": "5622638",
"title": "垃圾袋",
"thumbImg": "https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥9.90",
"ratio": 200,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "黑色",
"promotionInfo": {
"promotionSourcePid": "oqt8u5NJAsZ4TN0eNVDN5J_1KUOs_1497740816",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1508676280185753",
"payTime": 1611578393,
"shopName": "xxx小商店",
"productList": [
{
"productId": "12432937",
"title": "收纳盒",
"thumbImg": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥1.00",
"ratio": 8000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "1",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
},
{
"orderId": "1508813362517753",
"payTime": 1611576663,
"shopName": "xxx小商店",
"productList": [
{
"productId": "12432937",
"title": "收纳盒",
"thumbImg": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/xxx",
"price": "¥1.00",
"ratio": 8000,
"commissionStatus": "SETTLEMENT_PENDING",
"commission": "-",
"categoryStr": "1",
"promotionInfo": {
"promotionSourcePid": "oqt8u5E4_3XcsaMicK_E2gNyvBfM_1290469201",
"promotionSourceName": "xxx"
}
}
]
}
],
"pageSize": 10,
"totalNum": 133
}

View File

@ -0,0 +1,17 @@
{
"errcode": 0,
"productCats": [
{
"catId": "1234",
"name": "家纺"
},
{
"catId": "1235",
"name": "家具"
},
{
"catId": "1236",
"name": "母婴"
}
]
}

View File

@ -0,0 +1,9 @@
{
"pid": "oUnIc49zinb1mtlfB5K-NfGJxxNE_341161518",
"productList": [
{
"productId": "14495788",
"appId": "wxb82530c28"
}
]
}

View File

@ -0,0 +1,26 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"pid": "oUkIc71zinc2mtlfC7K-NfGJxxNE_328751529",
"productInfo": {
"productId": "14495674",
"title": "洗衣液",
"subTitle": "",
"headImg": [
"https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/601151160005275c000000003e9f9d09000000a000004f50"
],
"minPrice": 12300,
"shopName": "猪腩肉小商店"
},
"shareInfo": {
"appId": "wxb825f130c284597f",
"path": "plugin-private://wx34345ae5855f892d/pages/productDetail/productDetail?productId=14495788&ticket=dasdfa2V0NzIx123MTI4MDAxODadfdI4NDE3NabcMA",
"wxaCode": "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAa4A",
"promotionWording": "好评💦好价速撸🔰价格实惠🐸\n————\n黄酒\n\n开抢啦123元比市场价优惠2311元",
"promotionUrl": "https://mmbizurl.cn/s/017btcGpB"
}
}
]
}

View File

@ -0,0 +1,134 @@
{
"errcode": 0,
"errmsg": "",
"productList": [
{
"productId": "7554942",
"product": {
"productId": "7554942",
"status": 5,
"info": {
"title": "新增商品并保存case_UpProduct",
"subTitle": "这是商品子标题",
"headImg": [
"https://wxamusic.wx.qq.com/wxasr/getminipic/zncFu89-HApz37MU8ZbwXB-7W09r7a2spQoE8wPrMFG4kgySC04JEIgbjTy8izde?media-id=zncFu89-HApz37MU8ZbwXB-7W09r7a2spQoE8wPrMFG4kgySC04JEIgbjTy8izde&appid=wx678687fa5226e237"
],
"category": [
{
"catId": "1247",
"name": "家具"
},
{
"catId": "1267",
"name": "儿童家具"
},
{
"catId": "1270",
"name": "儿童床"
}
],
"brand": "",
"brandId": "2100000000",
"model": "",
"detail": {
"detailImg": [
"https://wxamusic.wx.qq.com/wxasr/getminipic/zncFu89-HApz37MU8ZbwXB-7W09r7a2spQoE8wPrMFG4kgySC04JEIgbjTy8izde?media-id=zncFu89-HApz37MU8ZbwXB-7W09r7a2spQoE8wPrMFG4kgySC04JEIgbjTy8izde&appid=wx678687fa5226e237"
]
},
"param": [],
"minPrice": 2000,
"expressInfo": {
"templateId": "37927"
},
"totalStockNum": 0
},
"skus": []
},
"leagueExInfo": {
"hasCommission": 1,
"commissionRatio": 8000,
"commissionValue": 1600
},
"shopInfo": {
"name": "猪腩肉小商店",
"headImgUrl": "http://wx.qlogo.cn/mmhead/Q3auHgzwzM77ia7ibuPAQBJgME8gFF9APicaSpd7evrLCVb5hn2zsUBOw"
}
},
{
"productId": "6565746",
"product": {
"productId": "6565746",
"status": 5,
"info": {
"title": "测试假发",
"subTitle": "测试假发",
"headImg": [
"https://snsdy.tc.qq.com/161/20304/snscosdownload/SZ/reserved/5fd316dc0000ef4b0000000043785609000000a000004f50"
],
"category": [
{
"catId": "1001",
"name": ""
},
{
"catId": "1030",
"name": ""
},
{
"catId": "1031",
"name": ""
}
],
"brandId": "2100000000",
"detail": {
"detailImg": []
},
"param": [],
"minPrice": 100,
"expressInfo": {
"templateId": "1024691"
},
"totalStockNum": 39995
},
"skus": [
{
"skuId": "11913889",
"status": 5,
"productSkuInfo": {
"thumbImg": "",
"skuCode": "",
"salePrice": 100,
"marketPrice": 100,
"stockInfo": {
"stockNum": 20000
}
}
},
{
"skuId": "11915862",
"status": 5,
"productSkuInfo": {
"thumbImg": "",
"skuCode": "",
"salePrice": 100,
"marketPrice": 100,
"stockInfo": {
"stockNum": 20000
}
}
}
]
},
"leagueExInfo": {
"hasCommission": 1,
"commissionRatio": 3300,
"commissionValue": 33
},
"shopInfo": {
"name": "沅沅小可爱",
"headImgUrl": "http://wx.qlogo.cn/mmhead/574VdhMFwaETvsGUwOpJsHAWaM3UDznibq3MMMiaOPSt7Ir1ecTLOfJQ/0"
}
}
],
"total": 100
}

View File

@ -0,0 +1,3 @@
{
"promotionSourceName": "推广位名称"
}

View File

@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"pid": "oUkIc71zinc2mtlfC7K-NfGJxxNE_328751529"
}

View File

@ -0,0 +1,4 @@
{
"promotionSourcePid": "oUnIc49z",
"promotionSourceName": "推广位名称"
}

View File

@ -0,0 +1,16 @@
{
"errcode": 0,
"errmsg": "",
"promotionSourceList": [
{
"promotionSourceName": "23444444444",
"promotionSourcePid": "oqt8u5MV-nX9iyrzARrq-QFsxI28_648499549"
},
{
"promotionSourceName": "123",
"promotionSourcePid": "oqt8u5MV-nX9iyrzARrq-QFsxI28_1515204302"
}
],
"total": 91,
"promotionMaxCnt": 100
}

View File

@ -0,0 +1,9 @@
{
"previousPromotionInfo": {
"promotionSourcePid": "oUnIc49z",
"promotionSourceName": "delete"
},
"promotionInfo": {
"promotionSourceName": "upd after22"
}
}