Browse Source

fix(docs): Api Route doc

lejianwen 1 year ago
parent
commit
b66fc3c06d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http/controller/api/user.go

+ 1 - 1
http/controller/api/user.go

@@ -34,7 +34,7 @@ type User struct {
34 34
 // @Produce  json
35 35
 // @Success 200 {object} apiResp.UserPayload
36 36
 // @Failure 500 {object} response.Response
37
-// @Router /api [get]
37
+// @Router /currentUser [get]
38 38
 // @Security token
39 39
 func (u *User) Info(c *gin.Context) {
40 40
 	user := service.AllService.UserService.CurUser(c)