文档
测试

商品列表

POST
https://zx.daoben.tech/web/index.php?_mall_id=1&r=api%2Fdefault%2Fgoods-list&page=1&cat_id=0&sort=0&exchangeable=0&goods_type=2

请求参数

参数名
类型
描述
必填
_mall_id
int
示例:1
必填
r
string
示例:api/default/goods-list
必填
page
int
示例:1
必填
cat_id
int
示例:0
必填
sort
int
示例:0
必填
exchangeable
int
示例:0
必填
goods_type
int
示例:2
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
int
示例:291
必填
goods_warehouse_id
int
示例:291
必填
mch_id
int
示例:0
必填
sign
string
示例:
必填
name
string
示例:张小泉淳熙套装刀具五件套菜刀家用超快锋利9铬5铬不锈钢磁吸刀座
必填
subtitle
string
示例:
必填
cover_pic
string
示例:https://zx.daoben.tech/web/uploads/mall1/20220410/b5d86615337608feddd57cda594ae030.jpg
必填
video_url
string
示例:
必填
original_price
string
示例:2500.00
必填
unit
string
示例:套
必填
page_url
string
示例:/pages/goods/goods?id=291
必填
is_negotiable
int
示例:0
必填
is_level
int
示例:1
必填
level_price
int
示例:-1
必填
price
string
示例:2308.00
必填
price_content
string
示例:¥2308.00
必填
is_sales
int
示例:1
必填
sales
string
示例:已售99套
必填
goods_stock
int
示例:769
必填
goods_num
int
示例:769
必填
type
string
示例:goods
必填
level_show
int
示例:0
必填
pagination
object
数据字典
必填
defaultPageSize
int
示例:10
必填
pageSize
int
示例:10
必填
total_count
int
示例:739
必填
page_count
int
示例:74
必填
current_page
int
示例:1
必填
pageParam
string
示例:page
必填
pageSizeParam
string
示例:per-page
必填
forcePageParam
boolean
示例:true
必填
route
object
示例:null
必填
params
object
示例:null
必填
urlManager
object
示例:null
必填
validatePage
boolean
示例:true
必填
totalCount
int
示例:739
必填
pageSizeLimit
array
数据列表
必填