add
wangpengfei
2023-07-18 5fac03fb857cf9a160e1736a25de2c5f95f5e44f
api/v1/subOrder.go
@@ -87,6 +87,8 @@
      return
   }
   subOrder.Id = params.Id
   errCode = subOrderService.UpdateSubOrder(&subOrder)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
@@ -101,7 +103,7 @@
//   @Tags      SubOrder
//   @Summary   获取子订单列表
//   @Produce   application/json
//   @Success   200   {object}   contextx.Response{}
//   @Success   200   {object}   contextx.Response{data=response.SubOrderResponse}
//   @Router      /api/subOrder/list [get]
func (s *SubOrderApi) List(c *gin.Context) {
   ctx, ok := contextx.NewContext(c, nil)