POST/tgy/getProduct开放/回调

对接方 TGY(代号待业务确认)-获取Product · getProduct 推断名·方法名推断

开放与对接 / 对接方 TGY(代号待业务确认)· TongguanKilnController#getProduct

基本信息

  • 接口状态开放/回调用(服务端) 置信度 中 免鉴权
  • 接口URLPOSThttps://dscp-dev.hn12301.net/open-api/tgy/getProduct
  • 请求方式POST
  • Content-Typeapplication/json
  • 暴露渠道开放/回调 前缀 /open-api
  • 名称来源方法名推断 补 javadoc 后自动转正
  • 调用方本次扫描未发现调用 不等于可以下线
  • 需求上下文铜官窑模块及接口对接
  • 维护人 / 最后改动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 请求参数

Body 类型 TongguanKilnProductRequest
参数名参数值是否必填参数类型描述说明
commodity_id…否String
date…否List<String>

认证方式

免鉴权:@Route(auth = false) —— 该接口不校验登录态,改动前确认调用方与签名校验。

响应参数

data 类型 TongguanKilnProductResponse
参数名参数值是否必填参数类型描述说明
code…否Integer
msg…否String
data…否List<Product>
commodity_id…否String
image…否String
commodity_name…否String
payPrice…否String
settlePrice…否String
minBuyCount…否Integer
maxBuyCount…否Integer

响应示例

成功响应示例 code=0

{
  "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)
由 tools/build.py 从 data/apis.json 生成 · 生成时间 2026-09-12 19:49 · 数据口径见说明 · 本页数字非手写,均来自同一份数据