文档
测试

药品列表

GET
https://runtong.hd2c.com/json/merchant/product.json

接口描述

药品列表

请求参数

参数名
类型
描述
必填
type
string
类型, nostock:缺货, hurry:告急, normal:正常, 默认 normal
必填
moreid
int
列表中最后一个药品的ID, 用于加载更多
必填
s
string
排序, ctime:按时间从近到远, money_asc:按价格从低到高, money_desc:按价格从高到低, total_buy:按销量 默认:total_buy
必填

响应参数

参数名
类型
描述
必填
items
array
商品列表
必填
id
int
ID
必填
name
string
名称
必填
model_name
string
规格
必填
factory
string
制药厂
必填
thumb
string
药品缩略图
必填
total_sales
int
销量
必填
money
decimal(10,2)
销售价格
必填
money_market
decimal(10,2)
市场价格
必填
stock
int
库存
必填
category
array
药品分类
必填
id
int
分类ID
必填
name
string
分类名
必填
child
array
子分类
必填