zhangqian
2023-08-02 b6b7eb71bf61f90874e5699ec849362fb725cb99
api/v1/serviceContract.go
@@ -26,7 +26,6 @@
   if !ok {
      return
   }
   errCode, serviceContract := checkServiceContractParams(params.ServiceContract)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
@@ -164,7 +163,7 @@
      return
   }
   serviceContracts, total, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.Keyword)
   serviceContracts, total, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.QueryClass, params.KeywordType, params.Keyword)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return
@@ -174,4 +173,4 @@
      List:  serviceContracts,
      Count: int(total),
   })
}
}