商品查询
POST
http://192.168.0.101/v1/searchgoods
请求参数
参数名
类型
描述
必填
start
int
查询跳过条数 示例:0
必填
limit
int
一次查询条数 示例:10
必填
keywords
string
查询关键字 示例:牛肉
必填
响应参数
参数名
类型
描述
必填
errorCode
int
自定义错误码 示例:1000
必填
msg
string
消息 示例:查询商品成功
必填
id
int
商品id 示例:3
必填
goods_name
string
商品名 示例:牛肉汤料
必填
gc_id
int
分类id 示例:2
必填
goods_price
string
商品价格 示例:10.00
必填
goods_cost
string
商品成本价 示例:0.00
必填
weight
int
商品排序权重 示例:99
必填
goods_storage
int
库存 示例:100
必填
goods_type
int
商品类型 1原料 2粉料 示例:1
必填
goods_new
int
是否新品 0否 1是 示例:0
必填
goods_sign
int
是否招牌 0否 1是 示例:0
必填
goodImg
string
商品介绍图 示例:http://qiniu.emjiayuan.com/upload_file/ems/2018071610161252234
必填
createtime
string
创建时间 示例:2020-04-30 15:00:00
必填
template_id
int
运费模板id 示例:2
必填
is_on_sale
int
是否上架 0否 1是 示例:1
必填
is_free_shopping
int
是否包邮 0否 1是 示例:0
必填
check_status
int
审核状态 0未审核 1成功 2失败 示例:0
必填
goods_content
string
商品详情 示例:http://qiniu.emjiayuan.com/products_detail1530526101795
必填
specs
string
规格 示例:10斤一箱
必填
brand
string
品牌 示例:伊穆家园
必填
goods_weight
int
重量 示例:5
必填
goods_words
string
首字母 示例:N
必填
goods_level
int
商品等级 示例:1
必填
goods_size
object
体积 示例:null
必填
goods_mark_price
string
市场价 示例:20.00
必填
goods_integral
object
购买给积分 示例:null
必填
total
int
总条数 示例:2
必填