文档
测试

商品详情

POST
https://ts.xiaojusmart.com/app_api/goods/details

请求参数

参数名
类型
描述
必填
goods_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
id
int
示例:1
必填
goods_img
string
示例:https://zb.xiaojusmart.com/upload/20200806/TS15967192847895089.png
必填
goods_name
string
示例:「XY出品」原创设计精致水晶三角项链
必填
goods_number
int
示例:100
必填
goods_details
string
示例:「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链
必填
org_price
int
示例:2220
必填
price
int
示例:1222
必填
keyword
object
示例:null
必填
status
int
示例:0
必填
is_recommend
string
示例:Y
必填
is_exc
string
示例:N
必填
sort
int
示例:0
必填
add_time
string
示例:2020-08-14 08:36:35
必填
comment
object
数据字典
必填
count
int
示例:1
必填
totalPages
int
示例:1
必填
pageSize
int
示例:20
必填
currentPage
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
goods_id
int
示例:1
必填
user_id
int
示例:3
必填
order_id
int
示例:0
必填
headimg
string
示例:http://file.xiaojusmart.com/zb/sir_icon_gray@2x.png
必填
username
string
示例:龙杰
必填
content
string
示例:好评!
必填
add_time
string
示例:2020-08-14 08:46:59
必填
goods_comment_reply
array
数据列表
必填
id
int
示例:1
必填
comment_id
int
示例:1
必填
user_id
int
示例:3
必填
headimg
string
示例:http://file.xiaojusmart.com/zb/sir_icon_gray@2x.png
必填
username
string
示例:龙杰
必填
r_user_id
int
示例:0
必填
r_username
string
示例:
必填
content
string
示例:你好啊
必填
add_time
string
示例:2020-08-14 08:48:00
必填

返回示例

```language { "id": 1, "goods_img": "https://zb.xiaojusmart.com/upload/20200806/TS15967192847895089.png", "goods_name": "「XY出品」原创设计精致水晶三角项链", "goods_number": 100, "goods_details": "「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链「XY出品」原创设计精致水晶三角项链", "org_price": 2220, "price": 1222, "keyword": null, "status": 0, "is_recommend": "Y", "is_exc": "N", "sort": 0, "add_time": "2020-08-14 08:36:35", "comment": { "count": 1, "totalPages": 1, "pageSize": 20, "currentPage": 1, "data": [ { "id": 1, "goods_id": 1, "user_id": 3, "order_id": 0, "headimg": "http://file.xiaojusmart.com/zb/sir_icon_gray@2x.png", "username": "龙杰", "content": "好评!", "add_time": "2020-08-14 08:46:59", "goods_comment_reply": [ { "id": 1, "comment_id": 1, "user_id": 3, "headimg": "http://file.xiaojusmart.com/zb/sir_icon_gray@2x.png", "username": "龙杰", "r_user_id": 0, "r_username": "", "content": "你好啊", "add_time": "2020-08-14 08:48:00" } ] } ] } } ```