POST
/tgy/getProduct开放/回调对接方 TGY(代号待业务确认)-获取Product · getProduct 推断名·方法名推断
开放与对接 / 对接方 TGY(代号待业务确认)
基本信息
- 接口状态开放/回调用(服务端) 免鉴权
- 接口URLPOST
https://dscp-dev.hn12301.net/open-api/tgy/getProduct - 请求方式
POST - Content-Type
application/json - 暴露渠道开放/回调 前缀
/open-api - 名称来源方法名推断
- 调用方本次扫描未发现调用
- 需求上下文
- 维护人 / 最后改动liuxu 2025-04-15
- 读写数据表—
- 控制器
com.jxxx.dscp.api.controller.openapi.TongguanKilnController#getProduct - 源码位置
jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/openapi/TongguanKilnController.java:25 - 判定依据
请求参数
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无(渠道统一鉴权头见《认证方式》) | ||||
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
路径参数及说明
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
Body 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| commodity_id | … | 否 | String | |
| date | … | 否 | List<String> |
认证方式
响应参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| code | … | 否 | Integer | |
| msg | … | 否 | String | |
| data | … | 否 | List<Product> | |
| commodity_id | … | 否 | String | |
| image | … | 否 | String | |
| commodity_name | … | 否 | String | |
| payPrice | … | 否 | String | |
| settlePrice | … | 否 | String | |
| minBuyCount | … | 否 | Integer | |
| maxBuyCount | … | 否 | Integer |
响应示例
成功响应示例
{
"errcode": 0,
"errmsg": "",
"data": {
"code": "1",
"msg": "\"string\"",
"data": "[]",
"commodity_id": "\"string\"",
"image": "\"string\"",
"commodity_name": "\"string\"",
"payPrice": "\"string\"",
"settlePrice": "\"string\"",
"minBuyCount": "1",
"maxBuyCount": "1"
}
}附录 · 实现细节
调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
- TongguanKilnController#getProduct
- TongguanKilnService#getProduct(TongguanKilnServiceImpl)