feat(work): 新增管理商品图册相关接口

This commit is contained in:
Fu Diwei
2021-09-30 15:26:27 +08:00
parent eb54c25605
commit 8ea180cc7d
22 changed files with 531 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
{
"description": "世界上最好的商品",
"price": 30000,
"product_sn": "xxxxxxxx",
"attachments": [
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"product_id": "xxxxxxxxxx"
}

View File

@@ -0,0 +1,21 @@
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "CURSOR",
"product_list": [
{
"product_id": "xxxxxxxxxx",
"description": "世界上最好的商品",
"price": 30000,
"product_sn": "xxxxxxxx",
"attachments": [
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}
]
}

View File

@@ -0,0 +1,19 @@
{
"errcode": 0,
"errmsg": "ok",
"product": {
"product_id": "xxxxxxxxxx",
"description": "世界上最好的商品",
"price": 30000,
"create_time": 1600000000,
"product_sn": "xxxxxxxx",
"attachments": [
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}
}

View File

@@ -0,0 +1,14 @@
{
"product_id": "xxxxxxxxxx",
"description": "世界上最好的商品",
"price": 30000,
"product_sn": "xxxxxx",
"attachments": [
{
"type": "image",
"image": {
"media_id": "MEDIA_ID"
}
}
]
}