文档
测试

仓库物品列表

POST
{{url}}/admin/goodsList

请求参数

参数名
类型
描述
必填
match
礼物名(type=1)
必填
cost_price1
int
成本(低)
必填
cost_price2
int
成本(高)
必填
page
必填
fen
int
是否分页 1分页 2不分
必填
type
int
1礼品 2课程
必填
match1
礼物名(type=2)
必填

说明 / 示例

{ "code": 200, "msg": "成功", "data": { "current_page": 1, "data": [ { "rn": 1, "id": 1, "name": "132", 名 "inventory": 10, 总库存 "inventory_sheng": 10, 剩余库存 "change": 1 已上架数量 "cost_price": 1 成本 'exchange':1 已兑换数量 } ], "first_page_url": "http://www.zhongxin.com/admin/goodsList?page=1", "from": 1, "last_page": 1, "last_page_url": "http://www.zhongxin.com/admin/goodsList?page=1", "next_page_url": null, "path": "http://www.zhongxin.com/admin/goodsList", "per_page": 20, "prev_page_url": null, "to": 1, "total": 1 } }