From 3687451937fd0dcf0e996eb00a29f8e8d9095ef4 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 24 Jan 2025 09:44:23 +0800 Subject: [PATCH] =?UTF-8?q?style:=20swagger=E6=B3=A8=E9=87=8A=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/network_data/controller/udm_auth.go | 4 ++-- src/modules/network_data/controller/udm_sub.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/network_data/controller/udm_auth.go b/src/modules/network_data/controller/udm_auth.go index d2c6b1d4..1c659cf5 100644 --- a/src/modules/network_data/controller/udm_auth.go +++ b/src/modules/network_data/controller/udm_auth.go @@ -37,7 +37,7 @@ type UDMAuthController struct { // UDM鉴权用户重载数据 // -// POST /resetData/:neId +// PUT /resetData/:neId // // @Tags network_data/udm/auth // @Accept json @@ -47,7 +47,7 @@ type UDMAuthController struct { // @Security TokenAuth // @Summary UDM Authentication User Reload Data // @Description UDM Authentication User Reload Data -// @Router /neData/udm/auth/resetData/{neId} [post] +// @Router /neData/udm/auth/resetData/{neId} [put] func (s *UDMAuthController) ResetData(c *gin.Context) { language := ctx.AcceptLanguage(c) neId := c.Param("neId") diff --git a/src/modules/network_data/controller/udm_sub.go b/src/modules/network_data/controller/udm_sub.go index 77aaf695..f2f42109 100644 --- a/src/modules/network_data/controller/udm_sub.go +++ b/src/modules/network_data/controller/udm_sub.go @@ -36,7 +36,7 @@ type UDMSubController struct { // UDM签约用户重载数据 // -// POST /resetData/:neId +// PUT /resetData/:neId // // @Tags network_data/udm/sub // @Accept json @@ -46,7 +46,7 @@ type UDMSubController struct { // @Security TokenAuth // @Summary UDM Subscriber User Reload Data // @Description UDM Subscriber User Reload Data -// @Router /neData/udm/sub/resetData/{neId} [post] +// @Router /neData/udm/sub/resetData/{neId} [put] func (s *UDMSubController) ResetData(c *gin.Context) { language := ctx.AcceptLanguage(c) neId := c.Param("neId")