/recipe/detail/id/tid

根据酒水小类获取酒水详情

URL

https://api.ktvsky.com/recipe/detail/id/tid,id为歌厅的唯一标示ID, tid为酒水小类id

支持格式

JSON

HTTP请求方式

GET

请求参数

参数 必选 类型及范围 说明
page false int 返回结果的页码,默认为1
page_size false int 单页返回的记录条数,最大不超过20,默认为10
app_key true string 创建应用时,系统分配的APP KEY
nonce true string 随机生成的字符串
signature true string 签名,关于签名算法,参见签名算法说明

返回字段说明

返回值字段 字段类型 字段说明
total int 返回结果的记录总数
id int 酒水小吃ID
serialno string 酒水小吃编号
desc string 酒水小吃备注
barcode string 酒水小吃商品条码
unit string 单位
costprice string 成本价
unitprice decimal 酒水小吃单价,单位:元
memberprice string 会员价
name string 酒水小吃名称
channelname string 酒水小吃所属大类
typename string 酒水小吃所属小类
storenum decimal 酒水库存数

错误码说明

参见全局返回码说明