文档
测试

搜索商品

GET
http://localhost:7002/goods/search/{keyword}

接口描述

搜索关键字相关的商品

响应参数

参数名
类型
描述
必填
data
array
数据列表,列表元素是一个obj,包括商品id、名称、库存、品种、封面路径
必填
coverPath
string
示例:a
必填
price
int
示例:2000
必填
name
string
示例:英国蓝猫
必填
id
int
示例:634109131100161
必填
inventory
int
示例:20
必填
breed
string
示例:英国蓝猫
必填
code
string
0000
必填
message
string
OK
必填