# 接口变更记录 — 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](http://192.168.100.236:8085/doc.html) → 标签 **「安全保障模板管理」** ### 🆕 `GET` /admin/product/safety-template — 模板列表 **响应** `Result>>` ### 🆕 `GET` /admin/product/safety-template/{templateId} — 模板详情 **参数** - `{templateId}` (`Long`) — 路径参数 **响应** `Result>` ### 🆕 `POST` /admin/product/safety-template — 创建模板 **请求体** `SafetyTemplateRequest` **响应** `Result>` ### 🆕 `PUT` /admin/product/safety-template/{templateId} — 更新模板 **参数** - `{templateId}` (`Long`) — 路径参数 **请求体** `SafetyTemplateRequest` **响应** `Result>` ### 🆕 `DELETE` /admin/product/safety-template/{templateId} — 删除模板 **参数** - `{templateId}` (`Long`) — 路径参数 **响应** `Result` ### ❌ ~~`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 ```