bug fixed

master
old易 2025-07-14 13:36:08 +08:00
parent 66c1129815
commit e6e126fc7e
2 changed files with 68 additions and 1 deletions

View File

@ -77,6 +77,74 @@
]
}
},
{
"method": "GET",
"path": "/api/product/detail",
"response": {
"id": "1",
"title": "防摔防滑地垫 卫生间适老化改造专用",
"subtitle": "600g专用 600g专用 600g专用简介",
"price": 120.0,
"unit": "元",
"cover": ["https://res.klyj.jinzejk.com/img/p01.png", "https://res.klyj.jinzejk.com/img/p02.png","https://res.klyj.jinzejk.com/img/p03.png","https://res.klyj.jinzejk.com/img/p04.png"],
"freight": "包邮",
"images": ["https://res.klyj.jinzejk.com/img/xq01.png"],
"specifications": {
"商品编码": "1015955073277",
"保质期": "3年",
"数量": "6包"
},
"parameters": {
"功能": "吸水柔贴透气",
"尺码": "L",
"国产/进口": "国产"
},
"features": [
"防滑气泡颗粒",
"按摩云朵刷",
"强力吸盘",
"TPE材质",
"排水顺畅",
"环保无味"
],
"tags": ["适老化", "浴室", "防滑", "环保"],
"inStock": true
},
"swagger": {
"summary": "获取商品详情",
"description": "根据商品 ID 返回完整详情内容",
"responses": {
"200": {
"description": "成功响应",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": { "type": "integer" },
"message": { "type": "string" },
"result": {
"type": "object",
"properties": {
"id": { "type": "string" },
"title": { "type": "string" },
"price": { "type": "number" },
"specifications": { "type": "object" },
"parameters": { "type": "object" },
"features": {
"type": "array",
"items": { "type": "string" }
}
}
}
}
}
}
}
}
}
}
},
{
"method": "GET",
"path": "/api/user/address/list",

View File

@ -31,7 +31,6 @@
"canDelete": false
}
],
"products": [],
"orders": []
}