From 06a4ce8ee4516cecf94db4d44d461ac3a82a8e5f Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Wed, 9 Jun 2021 17:10:20 +0800 Subject: [PATCH] =?UTF-8?q?test(wxapi):=20=E9=80=82=E9=85=8D=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9E=8B=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Order/UnionPromoterOrderInfoRequest.json | 3 + .../Order/UnionPromoterOrderInfoResponse.json | 28 +++ .../UnionPromoterOrderSearchRequest.json | 1 + .../UnionPromoterOrderSearchResponse.json | 219 ++++++++++++++++++ .../UnionPromoterProductCategoryRequest.json | 1 + .../UnionPromoterProductCategoryResponse.json | 17 ++ .../UnionPromoterProductGenerateRequest.json | 9 + .../UnionPromoterProductGenerateResponse.json | 26 +++ .../UnionPromoterProductListRequest.json | 1 + .../UnionPromoterProductListResponse.json | 134 +++++++++++ .../UnionPromoterPromotionAddRequest.json | 3 + .../UnionPromoterPromotionAddResponse.json | 5 + .../UnionPromoterPromotionDeleteRequest.json | 4 + .../UnionPromoterPromotionDeleteResponse.json | 4 + .../UnionPromoterPromotionListRequest.json | 1 + .../UnionPromoterPromotionListResponse.json | 16 ++ .../UnionPromoterPromotionUpdateRequest.json | 9 + .../UnionPromoterPromotionUpdateResponse.json | 4 + 18 files changed, 485 insertions(+) create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoRequest.json new file mode 100644 index 00000000..00d669fa --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoRequest.json @@ -0,0 +1,3 @@ +{ + "orderIdList": [] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoResponse.json new file mode 100644 index 00000000..0ede293c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderInfoResponse.json @@ -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" + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchResponse.json new file mode 100644 index 00000000..15afa3d8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Order/UnionPromoterOrderSearchResponse.json @@ -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 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryResponse.json new file mode 100644 index 00000000..7d5786f8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductCategoryResponse.json @@ -0,0 +1,17 @@ +{ + "errcode": 0, + "productCats": [ + { + "catId": "1234", + "name": "家纺" + }, + { + "catId": "1235", + "name": "家具" + }, + { + "catId": "1236", + "name": "母婴" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateRequest.json new file mode 100644 index 00000000..988733bc --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateRequest.json @@ -0,0 +1,9 @@ +{ + "pid": "oUnIc49zinb1mtlfB5K-NfGJxxNE_341161518", + "productList": [ + { + "productId": "14495788", + "appId": "wxb82530c28" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateResponse.json new file mode 100644 index 00000000..2452073b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductGenerateResponse.json @@ -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" + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListResponse.json new file mode 100644 index 00000000..9684241e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Product/UnionPromoterProductListResponse.json @@ -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 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddRequest.json new file mode 100644 index 00000000..66836af2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddRequest.json @@ -0,0 +1,3 @@ +{ + "promotionSourceName": "推广位名称" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddResponse.json new file mode 100644 index 00000000..fc46e92c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionAddResponse.json @@ -0,0 +1,5 @@ +{ + "errcode": 0, + "errmsg": "ok", + "pid": "oUkIc71zinc2mtlfC7K-NfGJxxNE_328751529" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteRequest.json new file mode 100644 index 00000000..7640989c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteRequest.json @@ -0,0 +1,4 @@ +{ + "promotionSourcePid": "oUnIc49z", + "promotionSourceName": "推广位名称" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionDeleteResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.json new file mode 100644 index 00000000..b84af32b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.json @@ -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 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateRequest.json new file mode 100644 index 00000000..6b6b57c0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateRequest.json @@ -0,0 +1,9 @@ +{ + "previousPromotionInfo": { + "promotionSourcePid": "oUnIc49z", + "promotionSourceName": "delete" + }, + "promotionInfo": { + "promotionSourceName": "upd after22" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/UnionPromoter/Promotion/UnionPromoterPromotionUpdateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file