| 接口名称 | 备注 |
|---|---|
| 接口类型 | HTTP POST |
| 接口格式 | application/json;charset=UTF-8 |
| 线上地址 | https://openapi.wanshifu.com/prod/prod/user-order-open-api/user-open/order/queryUserGoods |
| 测试地址 | https://openapi.wanshifu.com/pre-release/test/user-order-open-api/user-open/order/queryUserGoods |
| 接口说明 | 查询商品信息 |
| 是否加密 | 是 |
| 字段名称 | 字段说明 | 字段类型 | 是否必传参数 |
|---|---|---|---|
| userId | 用户id | Long | 否 |
| licenseId | 授权码 | string | (userId,licenseId二传1)否 |
| serveCategory | 类目ID | int | 否 |
| name | 商品型号 | String | 否 |
| queryAllServeType | 是否查询所有商品服务类型:是:1,否:0 | int | 否 |
| goodsServeTypeName | 服务类型(通用,安装) | String | 否 |
| pageNumber | 分页参数 | int | 否 |
| pageSize | 数量 | int | 否 |
| 字段名称 | 字段说明 | 字 段类型 |
|---|---|---|
| retCode | 错误码 | Integer |
| retData | 处理返回数据 | Object |
| retMsg | 错误描述 | String |
| 字段名称 | 字段说明 | 字段类型 | 是否必传参数 |
|---|---|---|---|
| name | 商品型号 | String | 是 |
| categoryName | 商品名称 | String | 是 |
| imageUrlList | 图片信息 | list | 是 |
| videoUrl | 视频信息 | String | 否 |
| updateTime | 更新时间 | long | 否 |
| goodsServeTypeName | 商品服务类型名称 | String | 否 |
| appointMethodName | 下单模式名称 | String | 否 |
{
"code": "200",
"msg": "成功",
"retCode": "200",
"retData": {
"list": [
{
"categoryName": "柜类-电视柜",
"imageUrlList": [
"https://qncdn.wanshifu.com/202401/5746fe1b764c7fbc2c4726c76587808d"
],
{
"categoryName": "柜类-床头柜",
"imageUrlList": [
"https://qncdn.wanshifu.com/202404/e3602d4bb94b764919468152893101de"
],
"name": "LSjiajuguileichaungtougui",
"updateTime": 1713422554000,
"videoUrl": null
}
],
"pageNum": 1,
"pageSize": 10,
"pages": 0,
"total": 960
},
"retMsg": "成功"
}{
"retCode": 500,
"retData": null,
"retMsg": "找不到对应的用户"
}