feat(wxapi): 新增微信小店主页管理相关接口

This commit is contained in:
Fu Diwei
2024-11-05 10:59:04 +08:00
parent c209cc3d57
commit 60d80194ff
56 changed files with 1852 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"img_url": "https://mmecimage.cn/p/abc",
"apply": {
"apply_id": 123,
"state": 2,
"audit_desc": "图片不合规",
"img_url": "https://mmecimage.cn/p/xyz"
}
}

View File

@@ -0,0 +1,41 @@
{
"banner": {
"scale": 2,
"banner": [
{
"type": 1,
"product": {
"product_id": 123
},
"banner": {
"description": "测试商品精品展示位描述",
"img_url": "https://store.mp.video.tencent-cloud.com/abc",
"title": "测试商品精品展示位标题"
}
},
{
"type": 3,
"finder": {
"feed_id": "export/abc",
"finder_user_name": "sphabc"
},
"banner": {
"description": "测试视频号视频精品展示位描述",
"img_url": "https://store.mp.video.tencent-cloud.com/abc",
"title": "测试视频号视频精品展示位标题"
}
},
{
"type": 4,
"official_account": {
"url": "https://mp.weixin.qq.com/abc"
},
"banner": {
"description": "测试公众号文章精品展示位描述",
"img_url": "https://store.mp.video.tencent-cloud.com/abc",
"title": "测试公众号文章精品展示位标题"
}
}
]
}
}

View File

@@ -0,0 +1,96 @@
{
"errcode": 0,
"errmsg": "ok",
"banner": {
"scale": 2,
"banner": [
{
"type": 1,
"product": {
"product_id": 123
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/abc",
"title": "测试商品展示位标题",
"description": "测试商品展示位描述"
}
},
{
"type": 3,
"finder": {
"finder_user_name": "sphabc",
"feed_id": "export/abc"
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/bcd",
"title": "测试视频号视频展示位标题",
"description": "测试视频号视频展示位描述"
}
},
{
"type": 4,
"official_account": {
"url": "http://mp.weixin.qq.com/abc"
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/cde",
"title": "测试公众号文章展示位标题",
"description": "测试公众号文章展示位描述"
}
}
]
},
"apply": {
"apply_id": 123,
"state": 2,
"scale": 2,
"banner": [
{
"audit_state": 1,
"audit_desc": "图片不合规",
"banner": {
"type": 1,
"product": {
"product_id": 456
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/xyz",
"title": "测试商品展示位标题",
"description": "测试商品展示位描述"
}
}
},
{
"audit_state": 1,
"audit_desc": "图片不合规",
"banner": {
"type": 4,
"official_account": {
"url": "http://mp.weixin.qq.com/xyz"
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/wxy",
"title": "测试公众号文章展示位标题",
"description": "测试公众号文章展示位描述"
}
}
},
{
"audit_state": 1,
"audit_desc": "图片不合规",
"banner": {
"type": 3,
"finder": {
"finder_user_name": "sphxyz",
"feed_id": "export/xyz"
},
"banner": {
"img_url": "https://store.mp.video.tencent-cloud.com/vwx",
"title": "测试视频号视频标题",
"description": "测试视频号视频描述"
}
}
}
]
}
}

View File

@@ -0,0 +1,40 @@
{
"errcode": 0,
"errmsg": "ok",
"resp": {
"tree": {
"level_1": [
{
"id": 4,
"name": "测试7",
"level_2": [
{
"id": 5,
"name": "1",
"is_displayed": true
}
],
"is_displayed": true
},
{
"id": 6,
"name": "测试8",
"level_2": [
{
"id": 7,
"name": "1",
"is_displayed": true
},
{
"id": 8,
"name": "2",
"is_displayed": true
}
],
"is_displayed": true
}
]
},
"version": 122
}
}

View File

@@ -0,0 +1,7 @@
{
"req": {
"level_1_id": 1,
"level_2_id": 0,
"product_ids": []
}
}

View File

@@ -0,0 +1,7 @@
{
"req": {
"level_1_id": 1,
"level_2_id": 0,
"product_ids": []
}
}

View File

@@ -0,0 +1,8 @@
{
"req": {
"level_1_id": 1,
"level_2_id": 0,
"page_size": 5,
"page_context": ""
}
}

View File

@@ -0,0 +1,9 @@
{
"errcode": 0,
"errmsg": "ok",
"resp": {
"product_ids": [],
"total_count": 0,
"page_context": ""
}
}

View File

@@ -0,0 +1,41 @@
{
"req": {
"version": 121,
"classification_id_deleted": [
"1.2"
],
"tree": {
"level_1": [
{
"id": 4,
"name": "测试7",
"level_2": [
{
"id": 5,
"name": "1",
"is_displayed": 1
}
],
"is_displayed": 1
},
{
"id": 6,
"name": "测试8",
"level_2": [
{
"id": 7,
"name": "1",
"is_displayed": 1
},
{
"id": 8,
"name": "2",
"is_displayed": 1
}
],
"is_displayed": 1
}
]
}
}
}

View File

@@ -0,0 +1,29 @@
{
"errcode": 0,
"errmsg": "ok",
"resp": {
"version": 123,
"audit_results": [
{
"level_id": 4,
"result_code": 2
},
{
"level_id": 5,
"result_code": 2
},
{
"level_id": 6,
"result_code": 2
},
{
"level_id": 7,
"result_code": 2
},
{
"level_id": 8,
"result_code": 2
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"product_id": "1234567002",
"is_set_hide": 1
}

View File

@@ -0,0 +1,4 @@
{
"page_size": 10,
"next_key": "THE_NEXT_KEY"
}

View File

@@ -0,0 +1,18 @@
{
"errcode": 0,
"errmsg": "ok",
"products": [
{
"product_id": "1234567001",
"is_set_hide": 0,
"is_set_top": 0
},
{
"product_id": "1234567002",
"is_set_hide": 0,
"is_set_top": 0
}
],
"next_key": "THE_NEXT_KEY_NEW",
"total_num": 100
}

View File

@@ -0,0 +1,4 @@
{
"product_id": "1234567002",
"index_num": 1
}

View File

@@ -0,0 +1,4 @@
{
"product_id": "1234567002",
"is_set_top": 1
}