style: swagger注释更新

This commit is contained in:
TsMask
2025-01-24 09:44:23 +08:00
parent 8b5a461c81
commit 3687451937
2 changed files with 4 additions and 4 deletions

View File

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

View File

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