fix
wangpengfei
2023-07-27 8913004aaee4eba570ad48cff3c687349061d77a
api/v1/followRecord.go
@@ -201,8 +201,8 @@
//   @Tags      FollowRecord
//   @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 (fr *FollowRecordApi) List(c *gin.Context) {
   var params request.GetFollowRecordList
@@ -211,7 +211,7 @@
      return
   }
   followRecords, errCode := followRecordService.GetFollowRecordList(params.Page, params.PageSize, params.Keyword)
   followRecords, total, errCode := followRecordService.GetFollowRecordList(params.Page, params.PageSize, params.Keyword)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return
@@ -219,6 +219,6 @@
   ctx.OkWithDetailed(response.FollowRecordResponse{
      List:  followRecords,
      Count: len(followRecords),
      Count: int(total),
   })
}
}