fix
wangpengfei
2023-08-18 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f
api/v1/plan.go
@@ -148,7 +148,7 @@
      return
   }
   plans, errCode := planService.GetPlanList(params.Page, params.PageSize, params.Keyword)
   plans, total, errCode := planService.GetPlanList(params.Page, params.PageSize, params.Keyword)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return
@@ -156,6 +156,6 @@
   ctx.OkWithDetailed(response.PlanResponse{
      List: plans,
      Count: len(plans),
      Count: int(total),
   })
}
}