POST
/tickets/queryTicketsCalendarList管理后台价格日历表-列表查询
门票与景区 / 日历
基本信息
- 接口状态前端在用
- 接口URLPOST
https://dscp-dev.hn12301.net/manage-api/tickets/queryTicketsCalendarList - 请求方式
POST - Content-Type
application/json - 暴露渠道管理后台 前缀
/manage-api - 名称来源源码注释
- 调用方已确认在用 · 管理后台(1 个前端)
- 需求上下文
- 维护人 / 最后改动liuxu 2025-06-16
- 读写数据表
tickets_calendar反查该表全部接口 → - 控制器
com.jxxx.dscp.api.controller.tickets.TicketsCalendarController#queryTicketsCalendarList - 源码位置
jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/tickets/TicketsCalendarController.java:93 - 判定依据
请求参数
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无(渠道统一鉴权头见《认证方式》) | ||||
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
路径参数及说明
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
Body 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| keywords | … | 否 | String | 关键字 |
| skuId | … | 否 | Long | 单票skuID → tickets_calendar.sku_id |
认证方式
响应参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| id | … | 否 | Long | → tickets_calendar.id |
| ticketsId | … | 否 | Long | 单票id → tickets_calendar.tickets_id |
| skuId | … | 否 | Long | 单票skuID → tickets_calendar.sku_id |
| enableDate | … | 否 | Date | 日期 → tickets_calendar.enable_date |
| salePrice | … | 否 | Integer | 卖价(分) → tickets_calendar.sale_price |
| listPrice | … | 否 | Integer | → tickets_calendar.list_price |
| totalStock | … | 否 | Integer | 总库存 → tickets_calendar.total_stock |
| stock | … | 否 | Integer | 可用库存 → tickets_calendar.stock |
| isEnabled | … | 否 | Boolean | 状态 → tickets_calendar.is_enabled |
| isDeleted | … | 否 | Boolean | 是否删除(0否 1是) → tickets_calendar.is_deleted |
| reason | … | 否 | String | → tickets_calendar.reason |
| version | … | 否 | Integer | → tickets_calendar.version |
响应示例
成功响应示例
{
"errcode": 0,
"errmsg": "",
"data": {
"id": "1",
"ticketsId": "1",
"skuId": "1",
"enableDate": "\"2026-01-01 00:00:00\"",
"salePrice": "1",
"listPrice": "1",
"totalStock": "1",
"stock": "1",
"isEnabled": "false",
"isDeleted": "false",
"reason": "\"string\"",
"version": "1"
}
}附录 · 实现细节
调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
涉及数据表:tickets_calendar 反查全部引用接口 →
- TicketsCalendarController#queryTicketsCalendarList
- TicketsCalendarService#queryList(TicketsCalendarServiceImpl)
- TicketsCalendarMapper#queryList
- BeanUtils.map → TicketsCalendarQuery
- BeanUtils.mapList → TicketsCalendarResponse
逻辑摘要:列表查询(ticketsCalendarService.queryList);入参与返回值经 BeanUtils 做对象/分页映射
源码内联注释(旧站解析结果)
- 设置其他查询条件
旧站环境备注:pro:(仓库 .env.pro 指向 uat;生产域名未确认,此处沿用 uat 主机示意)
调用点证据
dscp-html-manage/src/api/tickets/index.ts:91管理后台 · request