feat(wxapi): 新增视频号小店电子面单模板管理相关接口

This commit is contained in:
Fu Diwei
2024-01-13 16:09:30 +08:00
parent 41908b9684
commit 7539312601
22 changed files with 1002 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
{
"errcode": 0,
"errmsg": "ok",
"config": {
"YTO": {
"single": {
"type": "single",
"desc": "一联单标准模板",
"width": 76,
"height": 130,
"url": "https://res.wx.qq.com/shop/public/2023-10-23/f81ed53c-8c35-4ea7-b4ec-9ac8d283c9a5.html",
"custom_config": {
"width": 656,
"height": 300,
"top": 900,
"left": 60
}
}
},
"ZTO": {
"single": {
"type": "single",
"desc": "一联单标准模板",
"width": 76,
"height": 130,
"url": "https://res.wx.qq.com/shop/public/2023-10-23/e500a351-d668-4851-97ff-79137f76cae0.html",
"custom_config": {
"width": 656,
"height": 300,
"left": 60,
"top": 930
}
}
},
"YUNDA": {
"single": {
"type": "single",
"desc": "一联单标准模板",
"width": 76,
"height": 130,
"url": "https://res.wx.qq.com/shop/public/2023-10-23/29c184fa-5708-45e3-8332-426d9cd59d89.html",
"custom_config": {
"width": 656,
"height": 340,
"left": 60,
"top": 884
}
}
},
"JTSD": {
"single": {
"type": "single",
"desc": "一联单标准模板",
"width": 76,
"height": 130,
"url": "https://res.wx.qq.com/shop/public/2023-10-23/53dbf069-f44d-44f3-9113-6cae2bd9d536.html",
"custom_config": {
"width": 656,
"height": 300,
"top": 865,
"left": 60
}
}
},
"STO": {
"single": {
"type": "single",
"desc": "一联单标准模板",
"width": 76,
"height": 130,
"url": "https://res.wx.qq.com/shop/public/2023-10-23/baefa5e0-eeef-41e4-b513-12eee76f9975.html",
"custom_config": {
"width": 712,
"height": 300,
"left": 24,
"top": 754
}
}
}
}
}

View File

@@ -0,0 +1,59 @@
{
"delivery_id": "xxxx",
"info": {
"template_name": "name_xxxx",
"template_desc": "快递一联单",
"template_type": "single",
"options": [
{
"option_id": 0,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 1,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 2,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 3,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 4,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 5,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 6,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 7,
"font_size": 0,
"is_bold": false,
"is_open": true
}
],
"is_default": true
}
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"delivery_id": "XXX",
"template_id": "xxxxxxxxxx"
}

View File

@@ -0,0 +1,63 @@
{
"errcode": 0,
"errmsg": "ok",
"template_info": {
"template_id": "66xxxxxxxxxx6",
"template_name": "naxxxxxxxx2",
"template_desc": "一联单标准模板",
"template_type": "single",
"create_time": 1693291995,
"update_time": 1693291995,
"is_default": true,
"options": [
{
"option_id": 0,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 1,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 2,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 3,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 4,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 5,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 7,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 6,
"font_size": 0,
"is_bold": false,
"is_open": true
}
]
}
}

View File

@@ -0,0 +1,71 @@
{
"errcode": 0,
"errmsg": "ok",
"total_template": [
{
"default_template_id": "66xxxxxxxxx",
"delivery_id": "YTO",
"template_list": [
{
"is_default": true,
"template_desc": "一联单标准模板",
"template_id": "66xxxxxxxx",
"template_name": "一联单zzz",
"template_type": "single",
"update_time": "1690426204",
"create_time": "1690426204",
"options": [
{
"option_id": 0,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 1,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 2,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 3,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 4,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 5,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 6,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 7,
"font_size": 0,
"is_bold": false,
"is_open": true
}
]
}
]
}
]
}

View File

@@ -0,0 +1,60 @@
{
"delivery_id": "xxxx",
"info": {
"template_id": "6xxxxxxxxx1",
"template_name": "name_xxxx",
"template_desc": "快递一联单",
"template_type": "single",
"options": [
{
"option_id": 0,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 1,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 2,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 3,
"font_size": 0,
"is_bold": false,
"is_open": false
},
{
"option_id": 4,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 5,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 6,
"font_size": 0,
"is_bold": false,
"is_open": true
},
{
"option_id": 7,
"font_size": 0,
"is_bold": false,
"is_open": true
}
],
"is_default": true
}
}