changelog: ed34f4c - fix: 安全保障模板接口路径加/admin前缀匹配网关路由
这个提交包含在:
父节点
ada3162cc0
当前提交
19b0f4db9a
@ -0,0 +1,74 @@
|
|||||||
|
# 接口变更记录 — 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<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} — 删除模板~~
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>📁 全部变更文件 (点击展开)</summary>
|
||||||
|
|
||||||
|
```
|
||||||
|
M hl-product-service/src/main/java/com/hulalv/product/controller/SafetyTemplateController.java
|
||||||
|
```
|
||||||
|
</details>
|
||||||
正在加载...
x
在新工单中引用
屏蔽一个用户