add
wangpengfei
2023-07-12 6bb983c0766c26583493a956f255f87c742db59e
docs/swagger.yaml
@@ -331,6 +331,47 @@
      name:
        type: string
    type: object
  model.MasterOrder:
    properties:
      client_id:
        type: integer
      end_time:
        type: string
      id:
        type: integer
      member_id:
        type: integer
      money:
        type: number
      number:
        type: string
      start_time:
        type: string
    type: object
  model.Possibility:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.Product:
    properties:
      amount:
        type: integer
      desc:
        type: string
      id:
        type: integer
      name:
        type: string
      number:
        type: string
      price:
        type: number
      total:
        type: number
    type: object
  model.Province:
    properties:
      cities:
@@ -342,6 +383,35 @@
      name:
        type: string
    type: object
  model.Quotation:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      conditions:
        type: string
      contact:
        $ref: '#/definitions/model.Contact'
      contact_id:
        type: integer
      file:
        type: string
      id:
        type: integer
      member_id:
        type: integer
      number:
        type: string
      quotation_status_id:
        type: integer
      sale_chance:
        $ref: '#/definitions/model.SaleChance'
      sale_chance_id:
        type: integer
      validity_date:
        type: string
    type: object
  model.Region:
    properties:
      id:
@@ -350,6 +420,13 @@
        type: string
    type: object
  model.RegisteredCapital:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.RegularCustomers:
    properties:
      id:
        type: integer
@@ -404,7 +481,7 @@
        type: string
      pain_points:
        type: string
      possibilities:
      possibilities_id:
        type: integer
      process:
        type: string
@@ -451,6 +528,41 @@
      name:
        type: string
    type: object
  model.SalesDetails:
    properties:
      address:
        type: string
      addressee:
        type: string
      clientId:
        type: integer
      conditions:
        type: string
      deliveryDate:
        type: string
      id:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      phone:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      remark:
        type: string
      saleChanceId:
        type: integer
      saleType:
        type: integer
      signTime:
        type: string
      wechatOrderStatus:
        type: integer
    type: object
  model.SalesLeads:
    properties:
      city:
@@ -494,12 +606,54 @@
      sales_status:
        $ref: '#/definitions/constvar.SalesStatus'
    type: object
  model.SalesRefund:
    properties:
      accountId:
        type: integer
      clientId:
        type: integer
      id:
        type: integer
      isInvoice:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        type: string
      refundDate:
        type: string
      refundMethod:
        type: string
    type: object
  model.SalesSources:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.SubOrder:
    properties:
      clientId:
        type: integer
      id:
        type: integer
      masterOrderId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  model.User:
    properties:
@@ -727,10 +881,53 @@
    required:
    - name
    type: object
  request.AddMasterOrder:
    properties:
      client_id:
        type: integer
      end_time:
        type: string
      member_id:
        type: integer
      money:
        type: string
      number:
        type: string
      start_time:
        type: string
    type: object
  request.AddPossibility:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddProvince:
    properties:
      name:
        description: 省份名称
        type: string
    type: object
  request.AddQuotation:
    properties:
      client_id:
        type: integer
      conditions:
        type: string
      contact_id:
        type: integer
      file:
        type: string
      member_id:
        type: integer
      number:
        type: string
      quotation_status_id:
        type: integer
      sale_chance_id:
        type: integer
      validity_date:
        type: string
    type: object
  request.AddRegion:
@@ -740,6 +937,13 @@
        type: string
    type: object
  request.AddRegisteredCapital:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddRegularCustomers:
    properties:
      name:
        type: string
@@ -825,6 +1029,11 @@
    required:
    - name
    type: object
  request.AddSalesDetails:
    properties:
      salesDetails:
        $ref: '#/definitions/request.SalesDetails'
    type: object
  request.AddSalesLeads:
    properties:
      city_id:
@@ -860,12 +1069,34 @@
        description: 商机来源ID
        type: integer
    type: object
  request.AddSalesRefundRequest:
    properties:
      salesRefund:
        $ref: '#/definitions/request.SalesRefund'
    type: object
  request.AddSalesReturnRequest:
    properties:
      salesReturn:
        $ref: '#/definitions/request.SalesReturn'
    type: object
  request.AddSalesSources:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddStatus:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddSubOrder:
    properties:
      subOrder:
        $ref: '#/definitions/request.SubOrder'
    type: object
  request.ChangePasswordReq:
    properties:
@@ -1037,6 +1268,83 @@
        example: 用户名
        type: string
    type: object
  request.SalesDetails:
    properties:
      address:
        type: string
      addressee:
        type: string
      clientId:
        type: integer
      conditions:
        type: string
      deliveryDate:
        type: string
      memberId:
        type: integer
      number:
        type: string
      phone:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      remark:
        type: string
      saleChanceId:
        type: integer
      saleType:
        type: integer
      signTime:
        type: string
      wechatOrderStatus:
        type: integer
    type: object
  request.SalesRefund:
    properties:
      accountId:
        type: integer
      clientId:
        type: integer
      isInvoice:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        type: string
      refundDate:
        type: string
      refundMethod:
        type: string
    type: object
  request.SalesReturn:
    properties:
      clientId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        type: string
      repository:
        type: string
      returnDate:
        type: string
      status:
        type: integer
    type: object
  request.SetCity:
    properties:
      city_ids:
@@ -1068,6 +1376,21 @@
        description: 地区ID列表
        items:
          type: integer
        type: array
    type: object
  request.SubOrder:
    properties:
      clientId:
        type: integer
      masterOrderId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      product:
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  request.UpdateCities:
@@ -1355,6 +1678,42 @@
    - id
    - name
    type: object
  request.UpdateMasterOrder:
    properties:
      client_id:
        type: integer
      end_time:
        type: string
      id:
        type: integer
      member_id:
        type: integer
      money:
        type: string
      number:
        type: string
      start_time:
        type: string
    type: object
  request.UpdatePossibilities:
    properties:
      possibilities:
        items:
          $ref: '#/definitions/request.UpdatePossibility'
        type: array
    required:
    - possibilities
    type: object
  request.UpdatePossibility:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateProvince:
    properties:
      id:
@@ -1371,6 +1730,29 @@
        items:
          $ref: '#/definitions/request.UpdateProvince'
        type: array
    type: object
  request.UpdateQuotation:
    properties:
      client_id:
        type: integer
      conditions:
        type: string
      contact_id:
        type: integer
      file:
        type: string
      id:
        type: integer
      member_id:
        type: integer
      number:
        type: string
      quotation_status_id:
        type: integer
      sale_chance_id:
        type: integer
      validity_date:
        type: string
    type: object
  request.UpdateRegion:
    properties:
@@ -1405,6 +1787,25 @@
        items:
          $ref: '#/definitions/request.UpdateRegisteredCapital'
        type: array
    type: object
  request.UpdateRegularCustomers:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateRegularCustomersList:
    properties:
      regularCustomers:
        items:
          $ref: '#/definitions/request.UpdateRegularCustomers'
        type: array
    required:
    - regularCustomers
    type: object
  request.UpdateSaleChance:
    properties:
@@ -1513,6 +1914,13 @@
    required:
    - sale_types
    type: object
  request.UpdateSalesDetails:
    properties:
      id:
        type: integer
      salesDetails:
        $ref: '#/definitions/request.SalesDetails'
    type: object
  request.UpdateSalesLeads:
    properties:
      city_id:
@@ -1550,6 +1958,36 @@
        description: 商机来源ID
        type: integer
    type: object
  request.UpdateSalesRefundRequest:
    properties:
      id:
        type: integer
      salesRefund:
        $ref: '#/definitions/request.SalesRefund'
    type: object
  request.UpdateSalesReturnRequest:
    properties:
      clientId:
        type: integer
      id:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        type: string
      repository:
        type: string
      returnDate:
        type: string
      status:
        type: integer
    type: object
  request.UpdateSalesSources:
    properties:
      id:
@@ -1565,6 +2003,42 @@
      sales_sourcess:
        items:
          $ref: '#/definitions/request.UpdateSalesSources'
        type: array
    type: object
  request.UpdateStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateStatusList:
    properties:
      list:
        items:
          $ref: '#/definitions/request.UpdateStatus'
        type: array
    required:
    - list
    type: object
  request.UpdateSubOrder:
    properties:
      clientId:
        type: integer
      id:
        type: integer
      masterOrderId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      product:
        items:
          $ref: '#/definitions/model.Product'
        type: array
    type: object
  response.CityResponse:
@@ -1660,6 +2134,13 @@
      user:
        $ref: '#/definitions/model.User'
    type: object
  response.MasterOrderResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.MasterOrder'
        type: array
    type: object
  response.PageResult:
    properties:
      list: {}
@@ -1670,6 +2151,13 @@
      total:
        type: integer
    type: object
  response.PossibilityResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.Possibility'
        type: array
    type: object
  response.ProvinceResponse:
    properties:
      list:
@@ -1677,11 +2165,25 @@
          $ref: '#/definitions/model.Province'
        type: array
    type: object
  response.QuotationResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.Quotation'
        type: array
    type: object
  response.RegisteredCapitalResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.RegisteredCapital'
        type: array
    type: object
  response.RegularCustomersResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.RegularCustomers'
        type: array
    type: object
  response.SaleChanceResponse:
@@ -1705,6 +2207,13 @@
          $ref: '#/definitions/model.SaleType'
        type: array
    type: object
  response.SalesDetailsResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.SalesDetails'
        type: array
    type: object
  response.SalesLeadsResponse:
    properties:
      list:
@@ -1712,11 +2221,25 @@
          $ref: '#/definitions/model.SalesLeads'
        type: array
    type: object
  response.SalesRefundResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.SalesRefund'
        type: array
    type: object
  response.SalesSourceResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.SalesSources'
        type: array
    type: object
  response.SubOrderResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.SubOrder'
        type: array
    type: object
  response.UserResponse:
@@ -2681,6 +3204,152 @@
      summary: 更新行业
      tags:
      - Industry
  /api/masterOrder/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddMasterOrder'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加主订单
      tags:
      - MasterOrder
  /api/masterOrder/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除主订单
      tags:
      - MasterOrder
  /api/masterOrder/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.MasterOrderResponse'
              type: object
      summary: 主订单列表
      tags:
      - MasterOrder
  /api/masterOrder/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateMasterOrder'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新主订单
      tags:
      - MasterOrder
  /api/possibility/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddPossibility'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加商机可能性
      tags:
      - Possibility
  /api/possibility/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除商机可能性
      tags:
      - Possibility
  /api/possibility/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.PossibilityResponse'
              type: object
      summary: 商机可能性列表
      tags:
      - Possibility
  /api/possibility/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdatePossibilities'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新商机可能性
      tags:
      - Possibility
  /api/province/add:
    post:
      parameters:
@@ -2773,6 +3442,79 @@
      summary: 更新省份
      tags:
      - Province
  /api/quotation/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddQuotation'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加报价单
      tags:
      - Quotation
  /api/quotation/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除报价单
      tags:
      - Quotation
  /api/quotation/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.QuotationResponse'
              type: object
      summary: 报价单列表
      tags:
      - Quotation
  /api/quotation/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateQuotation'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新报价单
      tags:
      - Quotation
  /api/region/add:
    post:
      parameters:
@@ -2933,6 +3675,79 @@
      summary: 更新注册资本
      tags:
      - RegisteredCapital
  /api/regularCustomers/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddRegularCustomers'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加常客
      tags:
      - RegularCustomers
  /api/regularCustomers/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除常客
      tags:
      - RegularCustomers
  /api/regularCustomers/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.RegularCustomersResponse'
              type: object
      summary: 常客列表
      tags:
      - RegularCustomers
  /api/regularCustomers/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateRegularCustomersList'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新常客
      tags:
      - RegularCustomers
  /api/saleChance/add:
    post:
      parameters:
@@ -3152,6 +3967,79 @@
      summary: 更新销售类型
      tags:
      - SaleType
  /api/salesDetails/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddSalesDetails'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加销售明细
      tags:
      - SalesDetails
  /api/salesDetails/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售明细
      tags:
      - SalesDetails
  /api/salesDetails/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.SalesDetailsResponse'
              type: object
      summary: 获取销售明细列表
      tags:
      - SalesDetails
  /api/salesDetails/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSalesDetails'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售明细
      tags:
      - SalesDetails
  /api/salesLeads/add:
    post:
      parameters:
@@ -3225,6 +4113,147 @@
      summary: 更新销售线索
      tags:
      - SalesLeads
  /api/salesRefund/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddSalesRefundRequest'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加销售退款
      tags:
      - SalesRefund
  /api/salesRefund/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退款
      tags:
      - SalesRefund
  /api/salesRefund/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.SalesRefundResponse'
              type: object
      summary: 销售退款列表
      tags:
      - SalesRefund
  /api/salesRefund/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSalesRefundRequest'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退款
      tags:
      - SalesRefund
  /api/salesReturn/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddSalesReturnRequest'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加销售退货
      tags:
      - SalesReturn
  /api/salesReturn/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售退货
      tags:
      - SalesReturn
  /api/salesReturn/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 获取销售退货列表
      tags:
      - SalesReturn
  /api/salesReturn/update/{id}:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSalesReturnRequest'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售退货
      tags:
      - SalesReturn
  /api/salesSources/add:
    post:
      parameters:
@@ -3298,6 +4327,147 @@
      summary: 更新商机来源
      tags:
      - SalesSources
  /api/status/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加状态
      tags:
      - Status
  /api/status/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除状态
      tags:
      - Status
  /api/status/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 状态列表
      tags:
      - Status
  /api/status/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateStatusList'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新状态
      tags:
      - Status
  /api/subOrder/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddSubOrder'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加子订单
      tags:
      - SubOrder
  /api/subOrder/delete/{id}:
    delete:
      parameters:
      - description: 查询参数
        in: path
        name: id
        required: true
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除子订单
      tags:
      - SubOrder
  /api/subOrder/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.SubOrderResponse'
              type: object
      summary: 获取子订单列表
      tags:
      - SubOrder
  /api/subOrder/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSubOrder'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新子订单
      tags:
      - SubOrder
  /api/user/changePassword:
    post:
      parameters: