简要描述:
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | kevin | 2020-11-23 |
请求URL:
请求方式:
- GET
请求头:
参数名 | 是否必须 | 类型 | 说明 |
---|
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
module | 是 | string | 显示模块,请查看模块参数 |
goods_id | 是 | int | 商品id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"goods_id": 8,
"imgs": [
"http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
"http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png"
],
"title": "宿舍木门1",
"small_title": "宿舍木门1",
"price": "1000.00",
"old_price": "2000.00",
"discount_price": 900,
"content": "木门介绍\n木门名称\n木门内容描述多长都可以没有限制的",
"uid": 16,
"is_open_custom": 2,
"start_up_cost": "0.00",
"is_open_make_up_collage": 1,
"number_of_collage": 2,
"price_of_collage": "80.00",
"shop_id": 2,
"shop_uid": 16,
"shop_logo": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
"shop_name": "15768868260",
"star": "5.0",
"shop_address": "广东省深圳市龙岗区爱联小区",
"sales_volume": 0,
"send_status": 1,
"notes_on_group_building": "1、拼团需多人参加\r\n2、拼团人数满足后,自动提示商家\r\n3、时间截止后,不满足的,则取消订单",
"group": [
{
"group_id": 31,
"expiration_at": 1606464765,
"number_of_collage": 2,
"user": [
{
"username": "用户0001",
"avatar": "http://wzb.com/uploads/user/avatar/2019-12-20/5dfca03bb231e.png"
}
],
"last_user_num": 1
},
{
"group_id": 32,
"expiration_at": 1606464888,
"number_of_collage": 2,
"user": [
{
"username": "用户0001",
"avatar": "http://wzb.com/uploads/user/avatar/2019-12-20/5dfca03bb231e.png"
}
],
"last_user_num": 1
},
{
"group_id": 33,
"expiration_at": 1606465456,
"number_of_collage": 3,
"user": [
{
"username": "用户0001",
"avatar": "http://wzb.com/uploads/user/avatar/2019-12-20/5dfca03bb231e.png"
}
],
"last_user_num": 2
}
],
"other_goods": [
{
"goods_id": 52,
"cover": "https://api.wzbwzbwzb.com/uploads/file/2022-06-14/62a7e7198a35b.jpg",
"title": "生态护墙",
"cate_id": "6",
"shop_id": 1,
"price": 260,
"discount_price": 0,
"module": "unionshopmulti"
},
}
}
错误时返回:
{
"status": 0,
"msg": "参数错误"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
goods_id | int | 商品id |
imgs | array | 图片路径 |
title | string | 标题 |
small_title | string | 小标题 |
price | string | 价格 |
old_price | string | 原价格 |
discount_price | string | 会员折扣价格 |
content | string | 内容 |
is_open_custom | string | 是否开启定制【1=开启,2=关闭】 |
start_up_cost | string | 定制上门起步费用 |
is_open_make_up_collage | string | 是否开启拼团【1=开启,2=关闭】 |
number_of_collage | string | 拼团人数 |
price_of_collage | string | 拼团价格 |
shop_id | int | 店铺id |
shop_logo | string | 店铺logo |
shop_name | string | 店铺名称 |
star | string | 店铺星级 |
shop_address | string | 店铺地址 |
sales_volume | string | 销量 |
notes_on_group_building | string | 拼团须知 |
group.group_id | string | 拼团id |
group.expiration_at | string | 拼团过期时间戳 |
group.number_of_collage | string | 需要拼团人数 |
group.user.username | string | 已拼团人名称 |
group.user.avatar | string | 已拼团人头像 |
group.last_user_num | string | 还差拼团人数 |
send_status | string | 发货状态 【1=已发货 2=未发货】 |
pay_method | string | 支付方式 |
other_goods.goods_id | string | 商品id |
other_goods.cover | string | 商品封面 |
other_goods.title | string | 商品标题 |
other_goods.price | string | 商品价格 |
other_goods.discount_price | string | 会员折扣价格 |
other_goods.module | string | 商品模块 |
备注:
- 无
作者:admin 创建时间:2020-11-23 15:51
更新时间:2025-04-01 15:40
更新时间:2025-04-01 15:40