zhou.xiaoning 5 rokov pred
rodič
commit
cef07083f5
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      controllers/user/user.go

+ 3 - 3
controllers/user/user.go

@@ -102,7 +102,7 @@ type GetUserAuthStatusReq struct {
 // @Produce json
 // @Security ApiKeyAuth
 // @Param userID query int true "用户ID"
-// @Success 200 {bool} app.Response
+// @Success 200 {object} app.Response
 // @Failure 500 {object} app.Response
 // @Router /User/GetUserAuthStatus [get]
 // @Tags 用户信息
@@ -149,7 +149,7 @@ type QueryUserFavoriteGoodsesReq struct {
 // @Produce json
 // @Security ApiKeyAuth
 // @Param userID query int true "用户ID"
-// @Success 200 {bool} models.Userfavoritegoods
+// @Success 200 {object} models.Userfavoritegoods
 // @Failure 500 {object} app.Response
 // @Router /User/QueryUserFavoriteGoodses [get]
 // @Tags 用户信息
@@ -259,7 +259,7 @@ type QueryMessageBoardReq struct {
 // @Produce json
 // @Security ApiKeyAuth
 // @Param userID query int true "用户ID"
-// @Success 200 {bool} models.Messageboard
+// @Success 200 {object} models.Messageboard
 // @Failure 500 {object} app.Response
 // @Router /User/QueryMessageBoard [get]
 // @Tags 用户信息