## 获取商品记录
~~~[api]
post:shop.goods/gets
*appid=wx963456e5540eb9f4#小程序APPID
*appkey=e2a73db6421b3e1f04e2b58acd566c61#应用KEY
<<<
获取成功
{
"code": 1,
"msg": "获取门店商品列表成功!",
"data": {
"list": [
{
"id": 11,
"target_table": "AgentGoodsList",
"target_gid": 21,
"psid": 23,
"sid": 24,
"tagid": "1,2",
"spec": null,
"logo": "商品LOGO",
"image": "商品展示图片",
"title": "商品标题",
"content": "商品内容描述",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:59:12",
"goods": [
{
"id": 8,
"psid": 23,
"sid": 24,
"gid": 11,
"spec": "尺寸::160;;颜色::白色",
"market": "0.00",
"selling": "0.00",
"l1_number": 0,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 0,
"sale": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:59:12"
}
]
},
{
"id": 10,
"target_table": "AgentGoodsList",
"target_gid": 22,
"psid": 23,
"sid": 24,
"tagid": "1,2",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160",
"check": true
},
{
"name": "162",
"check": false
}
]
},
{
"name": "颜色",
"list": [
{
"name": "黑色",
"check": false
},
{
"name": "白色",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品展示图片",
"title": "商品标题",
"content": "商品内容描述",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:55:40",
"goods": [
{
"id": 7,
"psid": 23,
"sid": 24,
"gid": 10,
"spec": "尺寸::160;;颜色::白色",
"market": "0.00",
"selling": "0.00",
"l1_number": 0,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 0,
"sale": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:55:40"
}
]
},
{
"id": 9,
"target_table": "AgentGoodsList",
"target_gid": 23,
"psid": 23,
"sid": 24,
"tagid": "1,2",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160",
"check": true
},
{
"name": "162",
"check": false
}
]
},
{
"name": "颜色",
"list": [
{
"name": "黑色",
"check": false
},
{
"name": "白色",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品展示图片",
"title": "商品标题",
"content": "商品内容描述",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:54:22",
"goods": [
{
"id": 6,
"psid": 23,
"sid": 24,
"gid": 9,
"spec": "尺寸::160;;颜色::白色",
"market": "0.00",
"selling": "0.00",
"l1_number": 0,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 0,
"sale": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:54:22"
}
]
},
{
"id": 8,
"target_table": "AgentGoodsList",
"target_gid": 1,
"psid": 23,
"sid": 24,
"tagid": "商品分组",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160/S",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品图片",
"title": "商品标题",
"content": "商品内容",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:38:21",
"goods": [
{
"id": 5,
"psid": 23,
"sid": 24,
"gid": 8,
"spec": "尺寸::160/S",
"market": "100.00",
"selling": "0.00",
"l1_number": 0,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 0,
"sale": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 16:38:21"
}
]
},
{
"id": 7,
"target_table": "AgentGoodsList",
"target_gid": 5,
"psid": 23,
"sid": 24,
"tagid": "商品分组",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160/S",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品图片",
"title": "商品标题",
"content": "商品内容",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:40:53",
"goods": [
{
"id": 4,
"psid": 23,
"sid": 24,
"gid": 7,
"spec": "尺寸::160/S",
"market": "100.00",
"selling": "0.00",
"l1_number": 100,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 100,
"sale": 100,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:40:53"
}
]
},
{
"id": 6,
"target_table": "AgentGoodsList",
"target_gid": 5,
"psid": 23,
"sid": 24,
"tagid": "商品分组",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160/S",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品图片",
"title": "商品标题",
"content": "商品内容",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:40:51",
"goods": [
{
"id": 3,
"psid": 23,
"sid": 24,
"gid": 6,
"spec": "尺寸::160/S",
"market": "100.00",
"selling": "0.00",
"l1_number": 100,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 100,
"sale": 100,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:40:51"
}
]
},
{
"id": 5,
"target_table": "StoreGoodsList",
"target_gid": 5,
"psid": 23,
"sid": 24,
"tagid": "商品分组",
"spec": [
{
"name": "尺寸",
"list": [
{
"name": "160/S",
"check": true
}
]
}
],
"logo": "商品LOGO",
"image": "商品图片",
"title": "商品标题",
"content": "商品内容",
"video": "商品展示视频",
"desc": "商品描述",
"sort": 0,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:27:28",
"goods": [
{
"id": 2,
"psid": 23,
"sid": 24,
"gid": 5,
"spec": "尺寸::160/S",
"market": "100.00",
"selling": "0.00",
"l1_number": 100,
"l1_price": "0.00",
"l2_number": 0,
"l2_price": "0.00",
"l3_number": 0,
"l3_price": "0.00",
"freight": "0.00",
"stock": 100,
"sale": 100,
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-23 11:27:28"
}
]
}
],
"agent": {
"id": 10,
"phone": "13617343800",
"password": "e10adc3949ba59abbe56e057f20f883e",
"nickname": "",
"status": 1,
"is_deleted": 0,
"create_at": "2018-08-16 18:33:12"
},
"store": {
"id": 24,
"pid": 23,
"uid": 10,
"cid": 19,
"template_id": 24,
"is_master": 0,
"is_discount": 0,
"logo": "",
"title": "楚才总店",
"desc": "",
"level": 3,
"phone": "13617343800",
"appid": "1111111",
"appkey": "321451235",
"active_at": "2028-08-16 18:33:12",
"active_no": 0,
"province": "广东",
"city": "广州",
"status": 1,
"create_at": "2018-08-16 18:33:12"
}
}
}
<<<
操作失败
{
"code": 0,
"msg": "无效的应用,请重新绑定应用并授权!",
"data": []
}
<<<
操作失败
{
"code": 0,
"msg": "'获取商品信息失败,请稍候再试!'",
"data": []
}
~~~
- 小钉用户管理
- 【通用】用户登录接口
- 【通用】用户退出登录
- 【通用】判断用户是否已经登录
- 【通用】获取改密图形验证码地址
- 【通用】发送找回密码短信验证码
- 【通用】找回并修改用户密码
- 【总店】获取图形验证码地址
- 【总店】发送注册短信验证码
- 【总店】总店用户注册接口
- 【门店】邀请码有效性验证
- 【门店】获取图形验证码地址
- 【门店】发送注册短信验证码
- 【门店】用户通过邀请码注册
- 小钉总店管理
- 【类目】获取小程序类目
- 【总店】创建试用总店信息
- 【总店】总店创建门店邀请码
- 【总店】获取当前总店信息
- 【折扣】切换总店折扣模式
- 【折扣】设置总店折扣规则
- 【折扣】获取总店折扣规则
- 【标签】增加商品标签
- 【标签】编辑商品标签
- 【标签】删除商品标签
- 【标签】禁用商品标签
- 【标签】启用商品标签
- 【标签】商品标签排序
- 【标签】获取商品标签
- 【商品】增加商品信息
- 【商品】编辑商品信息
- 【商品】获取商品信息
- 【商品】获取商品列表
- 【套餐】获取套餐列表
- 【套餐】提交小程序套餐订单
- 【套餐】获取套餐支付参数
- 【用户】获取门店用户列表
- 【进货】获取门店进货订单
- 【进货】修改订单审核状态
- 小钉门店管理
- 【模板】获取小程序模板
- 【模板】绑定小程序模板ID
- 【模板】发布小程序模板
- 【授权】小程序授权绑定
- 【授权】绑定小程序
- 【标签】增加商品标签
- 【标签】编辑商品标签
- 【标签】禁用商品标签
- 【标签】启用商品标签
- 【标签】商品标签排序
- 【标签】获取商品标签
- 【商品】增加商品信息
- 【商品】编辑商品信息
- 【商品】获取商品信息
- 【商品】获取商品列表
- 【商品】删除商品信息
- 【地址】增加收货地址
- 【地址】获取收货地址
- 【地址】修改收货地址
- 【地址】删除收货地址
- 【进货】商品直接上架
- 【进货】获取可进货列表
- 【进货】提交进货订单
- 【进货】获取订单列表
- 【出货】获取可用商品
- 【出货】提交出货订单
- 【出货】获取订单列表
- 【配置】小程序支付配置
- 【配置】小程序小支付证书
- 小钉商城管理
- 【解码】小程序解码
- 【商品】获取商品列表
- 【地址】添加收货地址
- 【地址】获取收货列表
- 【地址】修改收货地址
- 【地址】删除收货地址
- 【订单】创建用户订单
- 【订单】获取订单列表
- 【订单】获取订单支付