From 45a526194b33ddb4c7e668d7582e7481d0ca1fca Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 27 七月 2023 10:09:25 +0800 Subject: [PATCH] fix --- api/v1/followRecord.go | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/api/v1/followRecord.go b/api/v1/followRecord.go index cc09505..698073a 100644 --- a/api/v1/followRecord.go +++ b/api/v1/followRecord.go @@ -43,7 +43,6 @@ ctx.Ok() } - // Delete // // @Tags FollowRecord @@ -200,12 +199,12 @@ // List // // @Tags FollowRecord -// @Summary 璺熻繘璁板綍鍒楄〃 +// @Summary 鍥炶璁板綍鍒楄〃 // @Produce application/json -// @Param object body request.GetFollowRecordList true "鍙傛暟" -// @Success 200 {object} contextx.Response{data=response.FollowRecordResponse} +// @Param object body request.GetFollowRecordList true "鍙傛暟" +// @Success 200 {object} contextx.Response{data=response.FollowRecordResponse} // @Router /api/followRecord/list [post] -func (con *FollowRecordApi) List(c *gin.Context) { +func (fr *FollowRecordApi) List(c *gin.Context) { var params request.GetFollowRecordList ctx, ok := contextx.NewContext(c, ¶ms) if !ok { @@ -219,7 +218,7 @@ } ctx.OkWithDetailed(response.FollowRecordResponse{ - List: followRecords, + List: followRecords, Count: len(followRecords), }) } -- Gitblit v1.8.0