Appearance
商品详情 GET
TIP
接口状态:已完成
接口URL:GET http://接口域名/api/supplier/goods/v2/goods?goodsSN=
Content-Type:multipart/form-data
认证方式:无需认证
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| Appid | 供货后台获取 | 是 | String | |
| Apptoken | 123456 | 是 | String | |
| AppTimestamp | 1722218119 | 是 | String |
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| goodsSN | 否 | String | 商品编号 |
响应示例
成功 (200)
json
{
"code": 100,
"msg": "ok",
"result": {
"Id": 1,
"Gid": "758",
"AddTime": 1698202421,
"GoodsName": "11测试",
"ShequId": 4,
"IsClose": 2,
"CategoryId3": 10,
"CategoryId2": 3,
"GoodsType": 1,
"CategoryId": 1,
"Sort": 1,
"GoodsThumb": "http:\/\/58.57sj.cn\/upload\/console\/goods\/5e942ea421b4ae146eb0ea2022095fda.png",
"GoodsPrice": "1.00000000",
"ParamsTemplate": "[{\"description\":\"连接\",\"is_default\":false,\"key\":\"作品链接\",\"name\":\"连接111\",\"type\":1,\"type_config\":\"\",\"value\":{\"max\":1,\"min\":100}}]",
"CanTui": "1",
"CanRepeat": 1,
"IsSecret": 1,
"OtherName": "",
"GoodsUnit": "个",
"GongId": 71,
"Bs": 1,
"MinOrderNum": 2,
"MaxOrderNum": 10000,
"LimitMoney": "10.00",
"LimitCount": -1,
"GoodsDesc": "GoodsDesc",
"GoodsDetail": "",
"JiuwuType": "",
"Lable": "Lable",
"IsTb": 1,
"IsIndex": 1,
"IsTc": 1,
"TcTitle": "TcTitle",
"TcContent": "TcContent",
"SfGoodsName": "SfGoodsName",
"Bq": "Bq",
"GoodsStock": 1000,
"IsMx": 1,
"MxSort": 1,
"TbTime": 1698661781,
"AuditStatus": 1,
"SSupid": 0
}
}| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| code | 100 | 是 | Integer | |
| msg | ok | 是 | String | |
| result | 是 | Object | ||
| result.Id | 1 | 是 | Integer | |
| result.Gid | 758 | 是 | String | |
| result.AddTime | 1698202421 | 是 | Integer | 创建时间 |
| result.GoodsName | 11测试 | 是 | String | 商品名称 |
| result.ShequId | 4 | 是 | Integer | |
| result.IsClose | 2 | 是 | Integer | |
| result.CategoryId3 | 10 | 是 | Integer | |
| result.CategoryId2 | 3 | 是 | Integer | |
| result.GoodsType | 1 | 是 | Integer | |
| result.CategoryId | 1 | 是 | Integer | |
| result.Sort | 1 | 是 | Integer | |
| result.GoodsThumb | http://duckduck.my/1.png | 是 | String | |
| result.GoodsPrice | 1.00000000 | 是 | String | |
| result.ParamsTemplate | 下单参数JSON格式 | 是 | String | |
| result.CanTui | 1 | 是 | String | |
| result.CanRepeat | 1 | 是 | Integer | |
| result.IsSecret | 1 | 是 | Integer | |
| result.OtherName | 是 | String | ||
| result.GoodsUnit | 个 | 是 | String | |
| result.GongId | 71 | 是 | Integer | |
| result.Bs | 1 | 是 | Integer | |
| result.MinOrderNum | 2 | 是 | Integer | |
| result.MaxOrderNum | 10000 | 是 | Integer | |
| result.LimitMoney | 10.00 | 是 | String | |
| result.LimitCount | -1 | 是 | Integer | |
| result.GoodsDesc | GoodsDesc | 是 | String | |
| result.GoodsDetail | 是 | String | ||
| result.JiuwuType | 是 | String | ||
| result.Lable | Lable | 是 | String | |
| result.IsTb | 1 | 是 | Integer | |
| result.IsIndex | 1 | 是 | Integer | |
| result.IsTc | 1 | 是 | Integer | |
| result.TcTitle | TcTitle | 是 | String | |
| result.TcContent | TcContent | 是 | String | |
| result.SfGoodsName | SfGoodsName | 是 | String | |
| result.Bq | Bq | 是 | String | |
| result.GoodsStock | 1000 | 是 | Integer | |
| result.IsMx | 1 | 是 | Integer | |
| result.MxSort | 1 | 是 | Integer | |
| result.TbTime | 1698661781 | 是 | Integer | |
| result.AuditStatus | 1 | 是 | Integer | |
| result.SSupid | 0 | 是 | Integer |