文档
测试

商品详情

GET
http://192.168.5.193/backend/web/index.php/shop_goods/1?access_token=rnl4tJLYlfV-bEqK3W9kKwJhrDCfIXI5_1615282610&page=1&per-page=3

接口描述

把商品id传到token前 如 /1

请求参数

参数名
类型
描述
必填
access_token
string
示例:rnl4tJLYlfV-bEqK3W9kKwJhrDCfIXI5_1615282610
必填
page
int
示例:1
必填
per-page
int
示例:3
必填

响应参数

参数名
类型
描述
必填
id
int
示例:1
必填
goods_name
string
示例:你好
必填
goods_desc
string
示例:描述
必填
goods_imgs
array
数据列表
必填
goods_video
string
示例:1.MP4
必填
goods_type
object
数据字典
必填
id
int
示例:5
必填
type_name
string
示例:牛嘉晖
必填
shop_id
int
示例:1
必填
created_at
object
示例:null
必填
update_at
int
示例:1615173632
必填
sort_one
int
示例:1
必填
goods_status
string
示例:上架中
必填
goods_values
array
数据列表
必填