style: swagger注释更新
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user