mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-21 02:58:06 +08:00
feat(wxapi): 新增微信小店推客带货相关接口
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"order_id": "123",
|
||||
"sku_id": "12345"
|
||||
}
|
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"commssion_clue": {
|
||||
"order_id": "123",
|
||||
"sku_id": "12345",
|
||||
"create_time": 1675855175,
|
||||
"update_time": 1675855217,
|
||||
"status": 20,
|
||||
"clue_detail": {
|
||||
"shop_info": {
|
||||
"appid": "wxxxx"
|
||||
},
|
||||
"product_info": {
|
||||
"product_id": "12345",
|
||||
"thumb_img": "https://test.com/0",
|
||||
"title": "test_123",
|
||||
"actual_payment": 100
|
||||
},
|
||||
"order_info": {
|
||||
"status": 20
|
||||
},
|
||||
"sharer_info": {
|
||||
"sharer_appid": "",
|
||||
"nickname": "",
|
||||
"opensharerid": ""
|
||||
},
|
||||
"buyer_info": {
|
||||
"open_id": "",
|
||||
"union_id": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"page_size": 1,
|
||||
"create_time_range": {
|
||||
"start_time": 1676375581,
|
||||
"end_time": 1676375754
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"list": [
|
||||
{
|
||||
"order_id": "123",
|
||||
"sku_id": "1234"
|
||||
}
|
||||
],
|
||||
"has_more": true
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": "https://mp.weixin.qq.com/"
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"sharer_appid": "",
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 4
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_key": "",
|
||||
"has_more": false,
|
||||
"article_list": [
|
||||
{
|
||||
"product_list": [
|
||||
{
|
||||
"product_id": 123,
|
||||
"product_name": "name",
|
||||
"product_img_url": "imag_url",
|
||||
"predict_commission_amount": 123,
|
||||
"commission_rate": 400000
|
||||
}
|
||||
],
|
||||
"article_info": {
|
||||
"article_title": "title",
|
||||
"cover_image": "image",
|
||||
"article_url": "url",
|
||||
"promoter_share_link": "promoter_share_link"
|
||||
},
|
||||
"create_time": 1736864136,
|
||||
"update_time": 1736864136
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"talent_appid": "123123",
|
||||
"biz_appid": "wx7f48eaxxx",
|
||||
"page_size": 10
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_key": "",
|
||||
"has_more": false,
|
||||
"article_list": [
|
||||
{
|
||||
"product_info_list": [
|
||||
{
|
||||
"product_id": 123,
|
||||
"product_name": "name",
|
||||
"product_img_url": "imag_url",
|
||||
"predict_commission_amount": 123,
|
||||
"product_mini_price": 590
|
||||
}
|
||||
],
|
||||
"article_info": {
|
||||
"article_title": "title",
|
||||
"cover_image": "image",
|
||||
"article_url": "url",
|
||||
"promoter_share_link": "promoter_share_link"
|
||||
},
|
||||
"create_time": 1736864136,
|
||||
"update_time": 1736864136
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"shop_appid": "需要过滤的店铺appid",
|
||||
"next_key": "NEXT_KEY",
|
||||
"page_size": 20
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"next_key": "NEW_NEXT_KEY",
|
||||
"coupons": [
|
||||
{
|
||||
"coupon_id": "1111111"
|
||||
}
|
||||
],
|
||||
"has_more": true
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"coupon_id": "1111111"
|
||||
}
|
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"coupon": {
|
||||
"coupon_id": "111111111",
|
||||
"type": 103,
|
||||
"status": 5,
|
||||
"create_time": 1594885385,
|
||||
"update_time": 1594886327,
|
||||
"coupon_info": {
|
||||
"name": "scs",
|
||||
"discount_info": {
|
||||
"discount_num": 9900
|
||||
},
|
||||
"receive_info": {
|
||||
"end_time": 1673110742,
|
||||
"limit_num_one_person": 1,
|
||||
"start_time": 1673110742,
|
||||
"total_num": 100
|
||||
},
|
||||
"valid_info": {
|
||||
"valid_type": 1,
|
||||
"valid_day_num": 0,
|
||||
"start_time": 1594828800,
|
||||
"end_time": 1595433600
|
||||
}
|
||||
},
|
||||
"stock_info": {
|
||||
"issued_num": 95,
|
||||
"receive_num": 3,
|
||||
"used_num": 2
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"coupon_id": "1111111",
|
||||
"sharer_openid": "推客的当前小程序openid",
|
||||
"sharer_appid": "推客的appid"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qr_code": "QRCODEURL"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"coupon_id": "1111111",
|
||||
"sharer_openid": "推客的当前小程序openid",
|
||||
"sharer_appid": "推客的appid"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"short_link": "SHORTLINK"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"shop_appid": "需要过滤的店铺appid",
|
||||
"next_key": "NEXT_KEY",
|
||||
"page_size": 20
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"next_key": "NEW_NEXT_KEY",
|
||||
"coupons": [
|
||||
{
|
||||
"coupon_id": "1111111"
|
||||
}
|
||||
],
|
||||
"has_more": true
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"talent_appid": "",
|
||||
"finder_exportusername": "export/UzFfAgtgek..."
|
||||
}
|
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": false,
|
||||
"next_key": "",
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": "",
|
||||
"predict_commission_amount": 123,
|
||||
"talent_appid": "123",
|
||||
"product_info": {
|
||||
"product_id": 1,
|
||||
"product_name": "",
|
||||
"product_img_url": "",
|
||||
"product_mini_price": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": ""
|
||||
}
|
||||
],
|
||||
"mini_program_appid": "123",
|
||||
"talent_appid": "123"
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": "",
|
||||
"feed_token": "",
|
||||
"promoter_share_link": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"next_key": "next_key",
|
||||
"page_size": 1,
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": false,
|
||||
"next_key": "",
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": "",
|
||||
"predict_commission_amount": 123,
|
||||
"product_info": {
|
||||
"product_id": 1,
|
||||
"product_name": "",
|
||||
"product_img_url": "",
|
||||
"product_mini_price": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": ""
|
||||
}
|
||||
],
|
||||
"mini_program_appid": "123",
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"feed_list": [
|
||||
{
|
||||
"export_id": "",
|
||||
"feed_token": "",
|
||||
"promoter_share_link": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"talent_appid": ""
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": true,
|
||||
"next_key": "",
|
||||
"product_list": [
|
||||
{
|
||||
"product_id": 123,
|
||||
"product_name": "product_name",
|
||||
"product_img_url": "product_img_url",
|
||||
"product_price": 123,
|
||||
"predict_commission_amount": 123
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"talent_appid": ""
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"live_notice_record_list": [
|
||||
{
|
||||
"notice_id": "export_id",
|
||||
"description": "description",
|
||||
"start_time": 123123
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"talent_appid": "",
|
||||
"sharer_appid": "",
|
||||
"notice_id": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": ""
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"live_notice_id": "",
|
||||
"sharer_appid": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"count": 10
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"talent_appid": "",
|
||||
"mini_program_appid": ""
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"live_record_list": [
|
||||
{
|
||||
"export_id": "export_id",
|
||||
"description": "description",
|
||||
"promoter_share_link": "trace_id"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"talent_appid": "",
|
||||
"sharer_appid": "",
|
||||
"export_id": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": ""
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": true,
|
||||
"next_key": "",
|
||||
"product_list": [
|
||||
{
|
||||
"product_id": 123,
|
||||
"product_name": "product_name",
|
||||
"product_img_url": "product_img_url",
|
||||
"product_price": 123,
|
||||
"predict_commission_amount": 123,
|
||||
"commission_rate": 1000000
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1,
|
||||
"notice_id": "",
|
||||
"sharer_appid": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": ""
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1,
|
||||
"mini_program_appid": ""
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"live_record_list": [
|
||||
{
|
||||
"export_id": "export_id",
|
||||
"description": "description",
|
||||
"promoter_share_link": "trace_id"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"shop_appid": "",
|
||||
"promoter_id": "",
|
||||
"promoter_type": 1,
|
||||
"export_id": "",
|
||||
"sharer_appid": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sharer_appid": "appid",
|
||||
"product_id": 10,
|
||||
"shop_appid": "appid"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"short_link": "short_link"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sharer_appid": "appid",
|
||||
"product_id": 10,
|
||||
"shop_appid": "appid"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"qrcode_url": "url"
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"shop_appid": "SHOPAPPID",
|
||||
"product_id": 1,
|
||||
"plan_type": 1,
|
||||
"get_available_coupon": false
|
||||
}
|
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"product": {
|
||||
"shop_appid": "test",
|
||||
"product_id": 12345,
|
||||
"product_promotion_link": "",
|
||||
"product_info": {
|
||||
"title": "test_title",
|
||||
"sub_title": "",
|
||||
"head_imgs": [
|
||||
"https://test.com/0"
|
||||
],
|
||||
"desc_info": {
|
||||
"imgs": [
|
||||
"https://test.com/0"
|
||||
],
|
||||
"desc": ""
|
||||
},
|
||||
"cats_v2": [
|
||||
{
|
||||
"cat_id": "1421"
|
||||
}
|
||||
],
|
||||
"skus": [
|
||||
{
|
||||
"sku_id": "670813472",
|
||||
"thumb_img": "",
|
||||
"sale_price": 500,
|
||||
"stock_num": 998,
|
||||
"sku_attrs": [
|
||||
{
|
||||
"attr_key": "产地",
|
||||
"attr_value": "四川成都"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"commission_info": {
|
||||
"status": 1,
|
||||
"service_ratio": 1,
|
||||
"start_time": 1,
|
||||
"end_time": 1
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"plan_type": 1,
|
||||
"category": {
|
||||
"category_id": "8261345894708739273",
|
||||
"category_ids_1": [ "1142", "1421", "1453", "1208", "6153", "6472", "1069", "1247" ],
|
||||
"category_name": "家清日用"
|
||||
},
|
||||
"keyword": "纸巾",
|
||||
"spu_item_condition": {
|
||||
"commission_rate_range": {
|
||||
"max": "100000",
|
||||
"min": "0"
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"product_list": [
|
||||
{
|
||||
"product_id": 1,
|
||||
"shop_appid": "SHOPAPPID"
|
||||
}
|
||||
],
|
||||
"next_key": "PAGECONTEXT"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sharer_appid": "appid",
|
||||
"product_id": 10,
|
||||
"shop_appid": "appid"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"product_promotion_link": "link"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sharer_appid": "",
|
||||
"product_id": 1
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"is_set": true,
|
||||
"commission_ratio": 10
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sharer_appid": "",
|
||||
"product_id": 1,
|
||||
"commission_ratio": 10
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"next_key": "",
|
||||
"page_size": 10,
|
||||
"sharer_appid": "",
|
||||
"sharer_openid": ""
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"sharer_info_list": [
|
||||
{
|
||||
"sharer_appid": "推客的 appid 内容",
|
||||
"bind_time": 1624082155,
|
||||
"commission_ratio": 10000,
|
||||
"commission_type": 1,
|
||||
"nickname": "",
|
||||
"head_img_url": ""
|
||||
}
|
||||
],
|
||||
"next_key": ""
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"next_key": "next_key",
|
||||
"page_size": 1
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": false,
|
||||
"next_key": "",
|
||||
"shop_list": [
|
||||
{
|
||||
"shop_appid": "",
|
||||
"bind_time": 123,
|
||||
"shop_nickname": "",
|
||||
"shop_head_img": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"shop_appid": "",
|
||||
"next_key": "next_key",
|
||||
"page_size": 1
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": false,
|
||||
"next_key": "",
|
||||
"promoter_list": [
|
||||
{
|
||||
"promoter_id": "123",
|
||||
"avatar_image_url": "",
|
||||
"promoter_type": 1,
|
||||
"promoter_name": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"next_key": "next_key",
|
||||
"page_size": 1,
|
||||
"talent_appid": ""
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"has_more": false,
|
||||
"next_key": "",
|
||||
"talent_list": [
|
||||
{
|
||||
"talent_appid": "",
|
||||
"bind_time": 123,
|
||||
"talent_nickname": "",
|
||||
"talent_head_img": "",
|
||||
"related_finder_exportname_list": [ "export/UzFfAgtgek..." ],
|
||||
"related_mp_biz_appid_list": [ "wx7f48eaxxx", "wx8e36dexxx" ]
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sharer_openid": "openid",
|
||||
"is_simple_register": true
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"errcode": "0",
|
||||
"errmsg": "ok",
|
||||
"bind_status": 0,
|
||||
"register_status": 1,
|
||||
"register_business_type": "",
|
||||
"register_query_string": "",
|
||||
"bind_business_type": "",
|
||||
"bind_query_string": ""
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sharer_appid": "",
|
||||
"commission_type": 1,
|
||||
"commission_ratio": 10
|
||||
}
|
Reference in New Issue
Block a user