feat(wxapi): 新增视频号小店团长数据相关接口

This commit is contained in:
Fu Diwei
2023-03-29 19:05:32 +08:00
parent 24366c108d
commit 6e02b04f8d
44 changed files with 1441 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
{
"ToUserName": "gh_*",
"FromUserName": "OPENID",
"CreateTime": 1662480000,
"MsgType": "event",
"Event": "head_supplier_item_update",
"item_info": {
"event_type": 2,
"appid": "APPID",
"product_id": "12345",
"version": "1677488955",
"update_fields": [ "commission_ratio", "service_ratio", "status", "active_time" ]
}
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"funds_flow": {
"flow_id": "123455",
"funds_type": 2,
"amount": 4,
"balance": 139,
"bookkeeping_time": "2023-02-11 15:45:39",
"remark": "分账",
"order_id": "123455678"
}
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"flow_ids": [
"123243",
"123124134"
],
"has_more": true,
"next_key": "CImf4J0GENq46tOEhuIR"
}

View File

@@ -0,0 +1,32 @@
{
"errcode": 0,
"errmsg": "ok",
"item": {
"appid": "test",
"product_id": 12345,
"product_info": {
"title": "test_title",
"sub_title": "",
"head_imgs": [
"https://test.com/0"
],
"desc_info": {
"imgs": [
"https://test.com/0"
],
"desc": ""
},
"cats": [
{
"cat_id": "1421"
},
{
"cat_id": "1443"
},
{
"cat_id": "1452"
}
]
}
}
}

View File

@@ -0,0 +1,15 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"appid": "test",
"product_id": "12345"
},
{
"appid": "test",
"product_id": "123456"
}
],
"has_more": true
}

View File

@@ -0,0 +1,34 @@
{
"errcode": 0,
"errmsg": "ok",
"commssion_order": {
"order_id": "123",
"sku_id": "12345",
"create_time": 1675855175,
"update_time": 1675855217,
"status": 20,
"order_detail": {
"shop_info": {
"appid": "wxxxx"
},
"product_info": {
"product_id": "12345",
"thumb_img": "https://test.com/0",
"title": "test_123",
"actual_payment": 100
},
"order_info": {
"order_status": 20
},
"commission_info": {
"finder_info": {
"nickname": "finder",
"ratio": 100000,
"amount": 10
},
"service_ratio": 300000,
"service_amount": 30
}
}
}
}

View File

@@ -0,0 +1,7 @@
{
"page_size": 1,
"create_time_range": {
"start_time": 1676375581,
"end_time": 1676375754
}
}

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"order_id": "123",
"sku_id": "1234"
}
],
"has_more": true
}

View File

@@ -0,0 +1,21 @@
{
"errcode": 0,
"errmsg": "ok",
"shop_detail": {
"base_info": {
"appid": "wxtest1234",
"headimg_url": "headimg_url_test",
"nickname": "test1234"
},
"data_info": {
"gmv": 1850,
"product_number": 2,
"settle_amount": 39,
"unsettle_amount": 119,
"product_number_today": 0,
"product_number_sold_today": 0
},
"status": 2,
"approved_time": 100
}
}

View File

@@ -0,0 +1,14 @@
{
"errcode": 0,
"errmsg": "ok",
"shop_list": [
{
"base_info": {
"appid": "wxtest1234",
"headimg_url": "headimg_url_test",
"nickname": "test1234"
},
"status": 2
}
]
}