文档
测试

菜-详情

POST
39.101.68.193/admin/v1/item/detail/detail

请求头

参数名
类型
描述
必填
X-Client-Token
String
用户Token
必填

请求参数

参数名
类型
描述
必填
id
String
ID
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
cartImageUrl
string
购物车图片 示例:https://app.duyouqian.com.cn/download/upload/鱼340_1617383294396.png
必填
classifySet
string[]
分类ID列表, []: 无 示例:117894309655379969
必填
id
string
ID 示例:123219931662655488
必填
imageUrlList
String[]
图片列表
必填
materialList
array
材料列表
必填
id
int
材料ID 示例:117691862076915710
必填
name
string
名称 示例:材料1
必填
price
int
价格(分) 示例:100
必填
unit
string
单位 示例:g
必填
value
int
数量(.001) 示例:100
必填
materialPrice
int
材料价格(分) 示例:100
必填
name
string
名称 示例:物品-1
必填
price
int
价格(分) 示例:100
必填
showImageUrl
string
显示图片 示例:https://app.duyouqian.com.cn/download/upload/鱼340_1617383294396.png
必填
state
string
状态, NORMAL: 开启 DISABLE: 禁用 示例:NORMAL
必填
stepList
array
步骤列表
必填
desc
string
介绍 示例:desc
必填
media
object
媒体资源 示例:null
必填
type
String
类型, IMAGE: 图片, VIDEO: 视频
必填
url
String
资源URL
必填
subItemList
array
子商品列表
必填
type
string
类型 , SIGNAL: 单个, COMBINE: 组合 示例:SIGNAL
必填
videoUrl
string
视频 示例:
必填
workHard
int
制作难度 示例:0
必填
workTimeMax
int
制作时间上限(分钟) 示例:20
必填
workTimeMin
int
制作时间下限(分钟) 示例:10
必填
desc
String
商品介绍
必填
message
string
示例:
必填