POST
/mpContentManage/get管理后台内容·管理-获取 · get 推断名·方法名推断
C 端聚合接口 / 内容·管理
基本信息
- 接口状态前端在用
- 接口URLPOST
https://dscp-dev.hn12301.net/manage-api/mpContentManage/get - 请求方式
POST - 暴露渠道管理后台 前缀
/manage-api - 名称来源方法名推断
- 调用方已确认在用 · 管理后台(1 个前端)
- 需求上下文
- 维护人 / 最后改动jacobxu666 2026-07-03
- 读写数据表
mp_content反查该表全部接口 → - 控制器
com.jxxx.dscp.api.controller.mp.MpContentManageController#get - 源码位置
jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/mp/MpContentManageController.java:56 - 判定依据
请求参数
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无(渠道统一鉴权头见《认证方式》) | ||||
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
路径参数及说明
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
Body 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
认证方式
响应参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| id | … | 否 | Long | → mp_content.id |
| channel | … | 否 | String | xuchao: 渠道标识,支持多小程序渠道 → mp_content.channel |
| type | … | 否 | String | → mp_content.type |
| title | … | 否 | String | → mp_content.title |
| content | … | 否 | String | → mp_content.content |
| imageUrl | … | 否 | String | → mp_content.image_url |
| videoUrl | … | 否 | String | |
| linkUrl | … | 否 | String | → mp_content.link_url |
| sortOrder | … | 否 | Integer | → mp_content.sort_order |
| category | … | 否 | String | → mp_content.category |
| status | … | 否 | Integer | → mp_content.status |
| cardModelId | … | 否 | Long | → mp_content.card_model_id |
| createdTime | … | 否 | Date | → mp_content.created_time |
| updatedTime | … | 否 | Date | → mp_content.updated_time |
响应示例
成功响应示例
{
"errcode": 0,
"errmsg": "",
"data": {
"id": "1",
"channel": "\"string\"",
"type": "\"string\"",
"title": "\"string\"",
"content": "\"string\"",
"imageUrl": "\"string\"",
"videoUrl": "\"string\"",
"linkUrl": "\"string\"",
"sortOrder": "1",
"category": "\"string\"",
"status": "1",
"cardModelId": "1"
}
}附录 · 实现细节
调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
涉及数据表:mp_content 反查全部引用接口 →
- MpContentManageController#get
逻辑摘要:查询详情(mpContentManageService.get)
旧站环境备注:pro:(仓库 .env.pro 指向 uat;生产域名未确认,此处沿用 uat 主机示意)
调用点证据
dscp-html-manage/src/api/mp/content.ts:21管理后台 · request