文档
测试

商品列表

POST
/admin/goods/list.html

请求参数

参数名
类型
描述
必填
device
string
示例:admin
可选
token
string
示例:4xxxx2ll3zzz
可选

响应参数

参数名
类型
描述
必填
result
boolean
示例:true
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
string
商品id
必填
add_time
string
添加时间
必填
update_time
string
编辑时间
必填
goods_sn
string
商品编号
必填
cate_id
string
分类id
必填
sort
string
排序
必填
goods_thumb
string
缩略图
必填
goods_cover
string
商品图
必填
goods_piiic
string
示例:https://file-share-image.chenyi-tech.com/d771e168893a92cabb2090472f045f30.jpg
必填
goods_barcode
string
示例:
必填
type
string
示例:1
必填
market_price
string
原价
必填
price
string
零售价
必填
cost_price
string
成本价
必填
goods_weight
string
商品重量
必填
freight_id
string
示例:1
必填
is_freight
string
示例:0
必填
is_extend
string
示例:1
必填
goods_type
string
示例:1
必填
sale_status
string
示例:0
必填
shop_status
string
示例:0
必填
goods_title
string
示例:售后带邮费商品
必填
is_option
string
示例:0
必填
goods_origin_sn
string
示例:
必填
goods_unit
string
示例:个
必填
supplier_id
string
示例:0
必填
supply_goods_sn
string
示例:
必填
goods_type_name
string
示例:优选商品
必填
stocks
string
示例:1005
必填
stocks_hold
string
示例:0
必填
stocks_count
number
实际库存
必填
sales
string
销量
必填
sales_base
string
初始销量
必填
warning_stocks
string
示例:0
必填
web_sales
string
示例:0
必填
mini_sales
string
示例:9
必填
app_sales
string
示例:15
必填
supplier_name
string
示例:自营商品
必填
sale_status_msg
string
示例:下架
必填
is_timing
string
示例:0
必填
is_group_buy
string
示例:1
必填
goods_type
object
数据字典
必填
1
string
示例:优选商品
必填
2
string
示例:招商套餐
必填
3
string
示例:普通商品
必填
4
string
示例:活动商品
必填
5
string
示例:cps商品
必填
currentCount
number
示例:13
必填
pageCount
number
示例:1
必填
listCount
number
示例:13
必填
pageSize
number
示例:20
必填
page
number
示例:1
必填
msg
string
示例:success
必填
code
number
示例:0
必填