diff --git a/route/group_power_r/group_power.go b/route/group_power_r/group_power.go index 1b3320daa7809fd17ba60c0b1126ec193d410006..f3e1cc442cdbcf6fb4a14eda979a31722fdb148f 100644 --- a/route/group_power_r/group_power.go +++ b/route/group_power_r/group_power.go @@ -128,7 +128,7 @@ func formatSeconds(seconds int) (int, string) { // @Param token header string true "token" // @Param nonce header string true "随机数字" // @Param groupPowerId path int true "国家势力ID" -// @Success 200 {object} cv.GroupPowerTitle +// @Success 200 {object} group_cv.GroupPowerTitle // @Router /v1/groupPower/title/{groupPowerId} [get] func GetGroupPowerTitle(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) @@ -233,7 +233,7 @@ func GetGroupPowerTitle(c *gin.Context) (*mycontext.MyContext, error) { // @Param pageSize query int false "分页大小 默认:10" default(10) // @Param pageIndex query int false "第几个分页,从1开始 默认:1" default(1) // @Param groupPowerId path int true "国家势力ID" -// @Success 200 {object} cv.PopularGroupInfo +// @Success 200 {object} group_cv.PopularGroupInfo // @Router /v1/groupPower/group/{groupPowerId} [get] func GetGroupPowerGroups(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) @@ -508,7 +508,7 @@ func GetGroupPowerGroups(c *gin.Context) (*mycontext.MyContext, error) { // @Param token header string true "token" // @Param nonce header string true "随机数字" // @Param groupPowerId query int true "国家势力ID" -// @Success 200 {object} cv.CvGroupPowerTeam +// @Success 200 {object} group_power_cv.CvGroupPowerTeam // @Router /v1/groupPower/team [get] func GroupPowerTeam(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) @@ -535,7 +535,7 @@ func GroupPowerTeam(c *gin.Context) (*mycontext.MyContext, error) { // @Param type query int true "week:1:thisWeek 2:lastWeek" Enums(1,2) // @Param pageSize query int true "分页大小 默认:10" default(10) // @Param pageIndex query int true "第几个分页,从1开始 默认:1" default(1) -// @Success 200 {object} cv.CvGroupPowerDiamondTotal +// @Success 200 {object} group_power_cv.CvGroupPowerDiamondTotal // @Router /v1/groupPower/billboard/week [get] func GroupPowerBillboardWeek(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) diff --git a/route/group_r/group_list.go b/route/group_r/group_list.go index c85e642e039825cc06c03389a36618cc70bf0f3d..a01383189e24b2b77787fa7468cacf00cbd13569 100644 --- a/route/group_r/group_list.go +++ b/route/group_r/group_list.go @@ -32,7 +32,7 @@ import ( // @Param nonce header string true "随机数字" // @Param pageSize query int false "分页大小 默认:10" default(10) // @Param pageIndex query int false "第几个分页,从1开始 默认:1" default(1) -// @Success 200 {object} cv.PopularGroupInfo +// @Success 200 {object} group_cv.PopularGroupInfo // @Router /v1/imGroup/popular [get] func GetPopularGroups(c *gin.Context) (*mycontext.MyContext, error) { start := time.Now() @@ -381,7 +381,7 @@ type GetLatestGroupsReq struct { // @Param pageSize query int false "分页大小 默认:10" default(10) // @Param pageIndex query int false "第几个分页,从1开始 默认:1" default(1) // @Param lastId query int false "上一页列表的最后一个id,避免分页重复 默认:0" default(1) -// @Success 200 {object} cv.LatestGroupInfo +// @Success 200 {object} group_cv.LatestGroupInfo // @Router /v1/imGroup/latest [get] func GetLatestGroups(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) @@ -566,7 +566,7 @@ func GetLatestGroups(c *gin.Context) (*mycontext.MyContext, error) { // @Accept application/x-www-form-urlencoded // @Param token header string true "token" // @Param nonce header string true "随机数字" -// @Success 200 {object} cv.PopularGroupInfo +// @Success 200 {object} group_cv.PopularGroupInfo // @Router /v1/imGroup/recommended [get] func GetRecommendGroup(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) diff --git a/route/group_r/group_op.go b/route/group_r/group_op.go index cbb93a2b53dd16b78518d55b71684f0e8f8d220f..19b9a0da10d094e8eac5db569b64aa844e56eebd 100644 --- a/route/group_r/group_op.go +++ b/route/group_r/group_op.go @@ -224,7 +224,7 @@ func DestroyGroup(c *gin.Context) (*mycontext.MyContext, error) { // @Param token header string true "token" // @Param nonce header string true "随机数字" // @Param code path string true "群CODE" -// @Success 200 {object} cv.GroupInfo +// @Success 200 {object} group_cv.GroupInfo // @Router /v1/imGroup/group/{code} [get] func GetGroupInfo(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys) @@ -293,7 +293,7 @@ func GetGroupInfo(c *gin.Context) (*mycontext.MyContext, error) { // @Param token header string true "token" // @Param nonce header string true "随机数字" // @Param groupId path string true "群ID" -// @Success 200 {object} cv.GroupDetail +// @Success 200 {object} group_cv.GroupDetail // @Router /v1/imGroup/detail/{groupId} [get] func GetGroupDetail(c *gin.Context) (*mycontext.MyContext, error) { myContext := mycontext.CreateMyContext(c.Keys)