fix
wangpengfei
2023-07-27 c59053ef98942526930480345636ad3bb7b55596
api/v1/serviceContract.go
@@ -164,7 +164,7 @@
      return
   }
   serviceContracts, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.Keyword)
   serviceContracts, total, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.Keyword)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return
@@ -172,6 +172,6 @@
   ctx.OkWithDetailed(response.ServiceContractsResponse{
      List:  serviceContracts,
      Count: len(serviceContracts),
      Count: int(total),
   })
}
}