文档
测试

搜索商品数据

POST
http://localhost:8888/home/search/searchCommodity

接口描述

搜索商品数据

请求头

参数名
类型
描述
必填
content-type
String
application/json
必填
token
String
uni.getStorageSync('token')
必填

请求参数

参数名
类型
描述
必填
title
String
输入的商品标题搜索
可选

响应成功

参数名
类型
描述
必填
code
String
成功的code码
必填
msg
String
成功的返回信息
必填
data
Object
返回商品搜索的信息
必填

响应失败

参数名
类型
描述
必填
code
String
失败的code码
必填
msg
String
失败的返回信息
必填

说明 / 示例

商品搜索信息