fix
wangpengfei
2023-08-14 6acff3ce321e59b03e95fe7143ba45b0c48cd926
api/v1/subOrder.go
@@ -98,7 +98,6 @@
   ctx.Ok()
}
// checkSubOrderParams
// 检查子订单参数
func checkSubOrderParams(subOrder request.SubOrder) (errCode int, newSubOrder model.SubOrder) {
@@ -134,14 +133,14 @@
      return
   }
   subOrders, errCode := subOrderService.GetSubOrderList(params.Page, params.PageSize, params.Keyword)
   subOrders, total, errCode := subOrderService.GetSubOrderList(params.Page, params.PageSize, params.SearchMap)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return
   }
   ctx.OkWithDetailed(response.SubOrderResponse{
      List: subOrders,
      Count: len(subOrders),
      List:  subOrders,
      Count: int(total),
   })
}