hl-api-changelog/changelogs/2026-03/2026-03-26_1122_ed34f4c_fix_adm.md

1.8 KiB

接口变更记录 — 2026-03-26 11:22

提交 ed34f4c · 作者 wx · 时间 2026-03-26 11:22:12 +0800

fix: 安全保障模板接口路径加/admin前缀匹配网关路由

变更总览

  • 产品服务
    • SafetyTemplate (+5, -5)

产品服务

SafetyTemplate

📖 接口文档: http://192.168.100.236:8085/doc.html → 标签 「安全保障模板管理」

🆕 GET /admin/product/safety-template — 模板列表

响应 Result<List<Map<String, Object>>>

🆕 GET /admin/product/safety-template/{templateId} — 模板详情

参数

  • {templateId} (Long) — 路径参数

响应 Result<Map<String, Object>>

🆕 POST /admin/product/safety-template — 创建模板

请求体 SafetyTemplateRequest

响应 Result<Map<String, Object>>

🆕 PUT /admin/product/safety-template/{templateId} — 更新模板

参数

  • {templateId} (Long) — 路径参数

请求体 SafetyTemplateRequest

响应 Result<Map<String, Object>>

🆕 DELETE /admin/product/safety-template/{templateId} — 删除模板

参数

  • {templateId} (Long) — 路径参数

响应 Result<Void>

GET /product/safety-template — 模板列表

GET /product/safety-template/{templateId} — 模板详情

POST /product/safety-template — 创建模板

PUT /product/safety-template/{templateId} — 更新模板

DELETE /product/safety-template/{templateId} — 删除模板


📁 全部变更文件 (点击展开)
M	hl-product-service/src/main/java/com/hulalv/product/controller/SafetyTemplateController.java