POST/xgh/isXghCouponMember开放/回调

湘工惠-XghCouponMember · isXghCouponMember 推断名·方法名推断

开放与对接 / 湘工惠· XghController#isXghCouponMember

基本信息

  • 接口状态前端在用 置信度 高 免鉴权
  • 接口URLPOSThttps://dscp-dev.hn12301.net/open-api/xgh/isXghCouponMember
  • 请求方式POST
  • Content-Typeapplication/json
  • 暴露渠道开放/回调 前缀 /open-api
  • 名称来源方法名推断 补 javadoc 后自动转正
  • 调用方已确认在用 · 湘工惠商城(1 个前端)
  • 需求上下文湘工惠增加是否优惠会员接口
  • 维护人 / 最后改动liuxu 2025-08-01 最近提交:湘工惠增加是否优惠会员接口
  • 读写数据表—
  • 控制器com.jxxx.dscp.api.controller.openapi.XghController#isXghCouponMember
  • 源码位置jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/openapi/XghController.java:416
  • 判定依据1 个调用点:xghmall/common/http.api.js

请求参数

Header 请求参数

参数名参数值是否必填参数类型描述说明
无(渠道统一鉴权头见《认证方式》)

Query 请求参数

参数名参数值是否必填参数类型描述说明
无

路径参数及说明

参数名参数值是否必填参数类型描述说明
无

Body 请求参数

Body 类型 XghIsMemberRequest
参数名参数值是否必填参数类型描述说明
phone…否String
xghUserId…否String

认证方式

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

响应参数

data 类型 XghResponse
参数名参数值是否必填参数类型描述说明
accessToken…否String
code…否Integer
message…否String
isMember…否boolean
memberLevelType…否String

响应示例

成功响应示例 code=0

{
  "errcode": 0,
  "errmsg": "",
  "data": {
    "accessToken": "\"string\"",
    "code": "1",
    "message": "\"string\"",
    "isMember": "false",
    "memberLevelType": "\"string\""
  }
}
示例来自源码/导出内容,仅结构参考,非线上真实数据。

附录 · 实现细节

调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
  • XghController#isXghCouponMember
  • XghService#isXghCouponMember(XghServiceImpl)
其它依赖:XghService.isXghCouponMember
逻辑摘要:调用 isXghCouponMember(xghService.isXghCouponMember)
旧站环境备注:pro:(仓库 .env.pro 指向 uat;生产域名未确认,此处沿用 uat 主机示意)
调用点证据
  • xghmall/common/http.api.js:53 湘工惠商城 · isXghCouponMemberUrl
由 tools/build.py 从 data/apis.json 生成 · 生成时间 2026-09-12 19:49 · 数据口径见说明 · 本页数字非手写,均来自同一份数据