文档
测试

模糊查询

GET
http://localhost:3005/goods/goodsblur2/?query=%7B%22type%22%3A%22%E9%A3%9F%E5%93%81%22%7D&sort=%7B%7D

请求参数

参数名
类型
描述
必填
query
string
示例:{"type":"食品"}
必填
sort
string
示例:{}
必填

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
total
int
示例:2
必填
data
array
数据列表
必填
_id
string
示例:5f8aa982797c7bb308a3e4fe
必填
disprice
float
示例:26.9
必填
hasCoupons
boolean
示例:false
必填
id
int
示例:24173
必填
name
string
示例: 新疆哈密红枣2斤
必填
oldprice
float
示例:39.9
必填
pic5
object
示例:null
必填
piclogo
string
示例:http://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/201912/24QFelYG.jpg
必填
piclogo2
string
示例:http://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/201910/15HQefCx.jpg
必填
price
float
示例:26.9
必填
store
int
示例:185
必填
tabType
object
示例:null
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
total
int
示例:94
必填
data
array
数据列表
必填
_id
string
示例:5f8fda296d3495379e0573b5
必填
disprice
float
示例:48.9
必填
hasCoupons
boolean
示例:false
必填
id
int
示例:35986
必填
name
string
示例: 新鲜西域香梨新疆阿拉尔库尔勒香梨5斤装
必填
oldprice
float
示例:54.9
必填
pic5
object
示例:null
必填
piclogo
string
示例:http://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/202003/11vXKMgo.jpg
必填
piclogo2
string
示例:https://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/202004/14pKdAnJ.jpg
必填
price
float
示例:48.9
必填
store
int
示例:53
必填
tabType
object
示例:null
必填
type
string
示例:食品
必填
qty
int
示例:1
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
total
int
示例:94
必填
data
array
数据列表
必填
_id
string
示例:5f8fda296d3495379e0573b5
必填
disprice
float
示例:48.9
必填
hasCoupons
boolean
示例:false
必填
id
int
示例:35986
必填
name
string
示例: 新鲜西域香梨新疆阿拉尔库尔勒香梨5斤装
必填
oldprice
float
示例:54.9
必填
pic5
object
示例:null
必填
piclogo
string
示例:http://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/202003/11vXKMgo.jpg
必填
piclogo2
string
示例:https://best1-wexin.oss-cn-hangzhou.aliyuncs.com/images/upload/202004/14pKdAnJ.jpg
必填
price
float
示例:48.9
必填
store
int
示例:53
必填
tabType
object
示例:null
必填
type
string
示例:食品
必填
qty
int
示例:1
必填