文档
测试

商品列表

GET
{{host}}app/product

请求参数

参数名
类型
描述
必填
menu_id
string
示例:分类ID
必填
page
分页页码
必填

响应参数

参数名
类型
描述
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
first_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
from
object
示例:null
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://47.105.167.217:9501/api/app/product
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
object
示例:null
必填
total
int
示例:0
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
first_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
from
object
示例:null
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://47.105.167.217:9501/api/app/product
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
object
示例:null
必填
total
int
示例:0
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:67
必填
menu_id
int
示例:6
必填
name
string
示例:测试商品
必填
images
array
数据列表
必填
money
string
示例:1.00
必填
content
string
示例:详情
必填
count
int
示例:10
必填
day
int
示例:0
必填
day_count
int
示例:0
必填
created_at
string
示例:1622217112
必填
updated_at
string
示例:1622217318
必填
menu
object
数据字典
必填
id
int
示例:6
必填
name
string
示例:测试
必填
icon
string
示例:/
必填
sort
int
示例:1
必填
first_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://47.105.167.217:9501/api/app/product?page=1
必填
next_page_url
object
示例:null
必填
path
string
示例:http://47.105.167.217:9501/api/app/product
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
int
示例:1
必填
total
int
示例:1
必填