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")