getCollocationById.md
1.39 KB
获取单个商品搭配信息
接口名:
/collocation/selectCollocationById
方法
POST JSONRAW
入参
属性名称 | 类型 | 例子 | 说明 | 是否必填 | 长度限制 |
---|---|---|---|---|---|
param | number | 搭配的主键 | 必填 | 11 |
对应SQL的操作库表
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from product_collocation
where id = #{id,jdbcType=INTEGER}
错误编码
错误码code | 消息 | 说明 |
---|---|---|
200 | 添加成功! | |
400 | 操作失败! | |
500 | 操作失败! |
返回
{
"code": 200,
"data": {
"content": "content111",
"createTime": 1456453661,
"id": 28947,
"imageUrl": "/2012/03/06/18/020f2f4abf0258814bb938ed9f563b19e1111.jpg",
"info": [
{
"height": 569,
"id": 5001708,
"label": "50017085",
"left": 116,
"top": 232,
"width": 558
},
{
"height": 228,
"id": 50016303,
"label": "50016303",
"left": 94,
"top": 770,
"width": 403
}
],
"orderBy": 1,
"productSkn": 50018101
},
"md5": "857dfaf106092aeb17ca6b3b7ab38766",
"message": "query collocation success."
}