Skip to content

Commit

Permalink
fix(docs): Api Route doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen committed Jan 19, 2025
1 parent ab2e1a9 commit b66fc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/controller/api/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type User struct {
// @Produce json
// @Success 200 {object} apiResp.UserPayload
// @Failure 500 {object} response.Response
// @Router /api [get]
// @Router /currentUser [get]
// @Security token
func (u *User) Info(c *gin.Context) {
user := service.AllService.UserService.CurUser(c)
Expand Down

0 comments on commit b66fc3c

Please sign in to comment.