fix
wangpengfei
2023-08-15 a86df1054649f0594e4c77174fd254b8abd800ca
docs/swagger.yaml
@@ -11,16 +11,30 @@
    type: string
    x-enum-varnames:
    - BankAccountQueryClassExpireLessThen60Days
  constvar.CollectionStatus:
  constvar.CollectionSourceType:
    enum:
    - 1
    - 2
    type: integer
    x-enum-comments:
      CollectionSourceTypeSaleDetails: 销售明细
      CollectionSourceTypeServiceContract: 服务合同
    x-enum-varnames:
    - CollectionSourceTypeSaleDetails
    - CollectionSourceTypeServiceContract
  constvar.CollectionStatus:
    enum:
    - 1
    - 2
    - 3
    type: integer
    x-enum-comments:
      CollectionStatusCollected: 已收款
      CollectionStatusSubCollected: 部分收款
      CollectionStatusUnCollected: 待收款
    x-enum-varnames:
    - CollectionStatusUnCollected
    - CollectionStatusSubCollected
    - CollectionStatusCollected
  constvar.CourierCompanyKeywordType:
    enum:
@@ -46,18 +60,6 @@
    type: string
    x-enum-varnames:
    - FaqQueryClassExpireLessThen60Days
  constvar.FileKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - FileKeywordCustomerName
  constvar.FileQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - FileQueryClassExpireLessThen60Days
  constvar.InvoiceKeywordType:
    enum:
    - ""
@@ -126,14 +128,79 @@
    type: string
    x-enum-varnames:
    - ReceiptQueryClassExpireLessThen60Days
  constvar.SalesStatus:
  constvar.ReceiptSourceType:
    enum:
    - -1
    - 1
    - 2
    - 3
    - 4
    - 5
    type: integer
    x-enum-varnames:
    - ReceiptSourceTypeSalesDetails
    - ReceiptSourceTypeServiceContract
    - ReceiptSourceTypeInvoice
    - ReceiptSourceTypeCollectionPlan
    - ReceiptSourceTypeChuKuDan
  constvar.RefundSourceType:
    enum:
    - 1
    type: integer
    x-enum-comments:
      RefundSourceTypeSalesReturn: 销售退货
    x-enum-varnames:
    - RefundSourceTypeSalesReturn
  constvar.SalesDetailsKeywordType:
    enum:
    - 客户名称
    - 订单编号
    - 签约日期
    - 销售负责人
    - 产品名称
    type: string
    x-enum-varnames:
    - SalesDetailsKeywordTypeCustomerName
    - SalesDetailsKeywordTypeOrderNumber
    - SalesDetailsKeywordTypeSignTime
    - SalesDetailsKeywordTypePrincipal
    - SalesDetailsKeywordTypeProductName
  constvar.SalesRefundKeywordType:
    enum:
    - 销售退货单编号
    - 客户名称
    - 退款日期
    - 账户
    - 是否开票
    - 付款方式
    - 销售负责人
    - 修改时间
    - 价税合计
    type: string
    x-enum-varnames:
    - SalesRefundKeywordRefundNumber
    - SalesRefundKeywordClientName
    - SalesRefundKeywordRefundDate
    - SalesRefundKeywordAccount
    - SalesRefundKeywordIsInvoice
    - SalesRefundKeywordPaymentType
    - SalesRefundKeywordPrincipal
    - SalesRefundKeywordUpdateAt
    - SalesRefundKeywordPriceTotal
  constvar.SalesReturnSourceType:
    enum:
    - 1
    type: integer
    x-enum-comments:
      SalesReturnSourceTypeSaleDetails: 销售明细
    x-enum-varnames:
    - SalesReturnSourceTypeSaleDetails
  constvar.SalesStatus:
    enum:
    - 0
    - 1
    - 2
    - 3
    - -1
    type: integer
    x-enum-comments:
      SalesStatusFail: 失败
@@ -141,14 +208,12 @@
      SalesStatusLevelUptoClient: 升级为客户
      SalesStatusLevelUptoClientAndSalesChance: 升级为客户并且有销售机会
      SalesStatusNew: 新建
      SalesStatusSuccess: 成功
    x-enum-varnames:
    - SalesStatusFail
    - SalesStatusNew
    - SalesStatusIng
    - SalesStatusSuccess
    - SalesStatusLevelUptoClient
    - SalesStatusLevelUptoClientAndSalesChance
    - SalesStatusFail
  constvar.ServiceContractKeywordType:
    enum:
    - 服务合同编号
@@ -239,6 +304,44 @@
    - ServiceFollowupKeywordCustomerServiceNo
    - ServiceFollowupKeywordVisitor
    - ServiceFollowupKeywordSatisfactionDegree
  constvar.ServiceOrderKeywordType:
    enum:
    - 服务单编号
    - 主题
    - 客户名称
    - 实际处理时间
    - 服务人员
    - 服务方式
    - 产品类别
    - 故障类别
    type: string
    x-enum-varnames:
    - ServiceOrderKeywordOrderNumber
    - ServiceOrderKeywordSubject
    - ServiceOrderKeywordClientName
    - ServiceOrderKeywordRealProcessTime
    - ServiceOrderKeywordServiceMan
    - ServiceOrderKeywordServiceType
    - ServiceOrderKeywordProductType
    - ServiceOrderKeywordFaultType
  constvar.ServiceOrderQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceOrderQueryClassExpireLessThen60Days
  constvar.ServiceOrderStatusKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceOrderStatusKeywordCustomerName
  constvar.ServiceOrderStatusQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - ServiceOrderStatusQueryClassExpireLessThen60Days
  constvar.UserType:
    enum:
    - 1
@@ -253,6 +356,18 @@
    - UserTypeSuper
    - UserTypePrimary
    - UserTypeSub
  constvar.WechatOrderStatusKeywordType:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - WechatOrderStatusKeywordCustomerName
  constvar.WechatOrderStatusQueryClass:
    enum:
    - ""
    type: string
    x-enum-varnames:
    - WechatOrderStatusQueryClassExpireLessThen60Days
  contextx.Response:
    properties:
      code:
@@ -356,6 +471,8 @@
        type: integer
      latest_service_time:
        type: string
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -413,6 +530,39 @@
      name:
        type: string
    type: object
  model.CollectionProjection:
    properties:
      _:
        description: |-
          The date when the item was deleted
          example: 2023-08-10 15:48:25
        type: string
      created_at:
        description: |-
          The date when the item was created
          example: 2023-08-10 15:48:25
        type: string
      creator:
        type: integer
      estimated_collection_amount:
        type: number
      estimated_collection_date:
        type: string
      id:
        description: |-
          The ID of the item
          example: 1
        type: integer
      modifier:
        type: integer
      sale_chance_id:
        type: integer
      updated_at:
        description: |-
          The date when the item was last updated
          example: 2023-08-10 15:48:25
        type: string
    type: object
  model.Contact:
    properties:
      birthday:
@@ -435,6 +585,8 @@
        type: integer
      is_first:
        type: boolean
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -484,6 +636,8 @@
        type: integer
      is_first:
        type: boolean
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -507,12 +661,29 @@
    type: object
  model.Contract:
    properties:
      _:
        description: |-
          The date when the item was deleted
          example: 2023-08-10 15:48:25
        type: string
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      created_at:
        description: |-
          The date when the item was created
          example: 2023-08-10 15:48:25
        type: string
      file:
        type: string
      id:
        description: |-
          The ID of the item
          example: 1
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
@@ -523,6 +694,11 @@
        type: integer
      statusId:
        type: integer
      updated_at:
        description: |-
          The date when the item was last updated
          example: 2023-08-10 15:48:25
        type: string
    type: object
  model.Country:
    properties:
@@ -548,23 +724,6 @@
        type: integer
      name:
        type: string
    type: object
  model.CustomerServiceSheet:
    properties:
      handleStatus:
        type: integer
      id:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      priority:
        type: integer
      serviceFollowupId:
        type: integer
      serviceMode:
        type: integer
    type: object
  model.Department:
    properties:
@@ -601,44 +760,14 @@
      name:
        type: string
    type: object
  model.File:
    properties:
      bucket:
        description: 对象存储bucket
        type: string
      downloadCount:
        description: 下次次数
        type: integer
      filePath:
        description: 文件路径
        type: string
      fileType:
        description: 文件类型
        type: string
      key:
        description: 对象存储key
        type: string
      name:
        type: string
      previewCount:
        description: 预览次数
        type: integer
      size:
        description: 文件大小
        type: integer
      sourceId:
        description: 来源id
        type: integer
      sourceType:
        description: 附件来源
        type: string
    type: object
  model.FollowRecord:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      client_status:
        $ref: '#/definitions/model.ClientStatus'
      client_status_id:
        type: integer
      contact:
@@ -653,6 +782,8 @@
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      next_follow_time:
@@ -663,8 +794,12 @@
        type: string
      record:
        type: string
      sale_chance:
        $ref: '#/definitions/model.SaleChance'
      sale_chance_id:
        type: integer
      sales_leads:
        $ref: '#/definitions/model.SalesLeads'
      sales_leads_id:
        type: integer
      topic:
@@ -713,6 +848,10 @@
      principalId:
        description: 销售负责人id
        type: integer
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      sourceId:
        description: 源单id
        type: integer
@@ -765,6 +904,8 @@
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      money:
@@ -875,7 +1016,7 @@
  model.Product:
    properties:
      amount:
        type: integer
        type: number
      desc:
        type: string
      id:
@@ -916,10 +1057,18 @@
        type: string
      id:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status:
        $ref: '#/definitions/model.QuotationStatus'
      quotation_status_id:
        type: integer
      sale_chance:
@@ -938,6 +1087,11 @@
    type: object
  model.Receipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
@@ -952,9 +1106,15 @@
      moneyType:
        description: 币种
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -968,8 +1128,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  model.RefundMethod:
    properties:
@@ -1029,6 +1190,10 @@
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      collection_projections:
        items:
          $ref: '#/definitions/model.CollectionProjection'
        type: array
      competitors:
        type: string
      contact:
@@ -1053,6 +1218,8 @@
        type: string
      key_maker:
        type: string
      member:
        $ref: '#/definitions/model.User'
      member_id:
        type: integer
      name:
@@ -1065,6 +1232,8 @@
        type: string
      possibilities_id:
        type: integer
      possibility:
        $ref: '#/definitions/model.Possibility'
      process:
        type: string
      projected_amount:
@@ -1077,18 +1246,24 @@
        $ref: '#/definitions/model.Region'
      region_id:
        type: integer
      regular_customers:
        $ref: '#/definitions/model.RegularCustomers'
      regular_customers_id:
        type: integer
      remark:
        type: string
      sale_stage:
        $ref: '#/definitions/model.SaleStage'
      sale_stage_id:
        type: integer
      sale_type:
        $ref: '#/definitions/model.SaleType'
      sale_type_id:
        type: integer
      sales_sources:
        $ref: '#/definitions/model.SalesSources'
      sales_sources_id:
        type: integer
      salesSources:
        $ref: '#/definitions/model.SalesSources'
      solutions:
        type: string
      status_id:
@@ -1114,15 +1289,38 @@
    type: object
  model.SalesDetails:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      address:
        type: string
      addressee:
        type: string
      amountInvoiced:
        description: 已开票金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
        type: number
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      conditions:
        type: string
      createTime:
        type: string
      creatorId:
        type: integer
      creatorName:
        type: string
      deliveryDate:
        type: string
@@ -1146,6 +1344,8 @@
        type: array
      remark:
        type: string
      saleChance:
        $ref: '#/definitions/model.SaleChance'
      saleChanceId:
        type: integer
      saleType:
@@ -1153,6 +1353,8 @@
      signTime:
        type: string
      wechatOrderStatus:
        $ref: '#/definitions/model.WechatOrderStatus'
      wechatOrderStatusId:
        type: integer
    type: object
  model.SalesLeads:
@@ -1195,6 +1397,8 @@
        $ref: '#/definitions/model.Region'
      region_id:
        type: integer
      sales_sources:
        $ref: '#/definitions/model.SalesSources'
      sales_sources_id:
        type: integer
      sales_status:
@@ -1202,18 +1406,37 @@
    type: object
  model.SalesRefund:
    properties:
      accountId:
      amountTotal:
        description: 价税合计
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      id:
        type: integer
      isInvoice:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      products:
        items:
          $ref: '#/definitions/model.Product'
@@ -1222,13 +1445,30 @@
        type: string
      refundDate:
        type: string
      refundMethod:
        type: string
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
    type: object
  model.SalesReturn:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      SalesReturnStatus:
        allOf:
        - $ref: '#/definitions/model.SalesReturnStatus'
        description: 退货状态
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      createTime:
        type: string
      creatorName:
        type: string
      id:
        type: integer
      memberId:
@@ -1236,17 +1476,28 @@
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      salesReturnStatus:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  model.SalesReturnStatus:
    properties:
@@ -1273,6 +1524,15 @@
    properties:
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
@@ -1301,18 +1561,21 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer
    type: object
  model.ServiceContract:
    properties:
      SaleChance:
        $ref: '#/definitions/model.SaleChance'
      amountInvoiced:
        description: 已开票金额
        type: number
@@ -1322,11 +1585,19 @@
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 价税合计
        type: number
      amountUnInvoiced:
        description: 未开票金额
        type: number
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      contact:
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      contractId:
        type: integer
      endTime:
        type: string
@@ -1340,14 +1611,24 @@
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation:
        $ref: '#/definitions/model.Quotation'
      quotationId:
        type: integer
      remark:
        type: string
      saleChanceId:
        type: integer
      salesDetails:
        $ref: '#/definitions/model.SalesDetails'
      salesDetailsId:
        type: integer
      serviceContractStatus:
        $ref: '#/definitions/model.ServiceContractStatus'
      serviceContractStatusId:
        type: integer
      serviceContractType:
        $ref: '#/definitions/model.ServiceContractType'
      serviceContractTypeId:
        type: integer
      serviceTimes:
@@ -1392,36 +1673,50 @@
    type: object
  model.ServiceFollowup:
    properties:
      Member:
        $ref: '#/definitions/model.User'
      client:
        $ref: '#/definitions/model.Client'
      clientId:
        type: integer
      contact:
        $ref: '#/definitions/model.Contact'
      contactId:
        type: integer
      customerServiceSheet:
        $ref: '#/definitions/model.CustomerServiceSheet'
      file:
        type: string
      id:
        type: integer
      isVisit:
        $ref: '#/definitions/model.IsVisit'
      isVisitId:
        type: integer
      memberId:
        type: integer
      number:
        type: string
      oldMember:
        $ref: '#/definitions/model.User'
      oldMemberId:
        type: integer
      planId:
        type: integer
      remark:
        type: string
      satisfaction:
        $ref: '#/definitions/model.Satisfaction'
      satisfactionId:
        type: integer
      serviceId:
        type: integer
      serviceOrder:
        $ref: '#/definitions/model.ServiceOrder'
      serviceOrderId:
        type: integer
      solveRate:
        $ref: '#/definitions/model.SolveRate'
      solveRateId:
        type: integer
      timelyRate:
        $ref: '#/definitions/model.TimelyRate'
      timelyRateId:
        type: integer
    type: object
@@ -1434,10 +1729,12 @@
        description: 预约上门时间
        type: string
      carFare:
        description: 交通费
        description: 交通费                                                                 //
          交通费
        type: number
      chargeAmount:
        description: 收费金额
        description: 收费金额                                                       //
          收费金额
        type: number
      client:
        $ref: '#/definitions/model.Client'
@@ -1448,11 +1745,6 @@
        $ref: '#/definitions/model.Contact'
      contactId:
        description: 联系人id
        type: integer
      contract:
        $ref: '#/definitions/model.Contract'
      contractId:
        description: 合同id
        type: integer
      expectTime:
        description: 希望处理时间
@@ -1469,11 +1761,6 @@
        type: integer
      id:
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      orderManage:
        $ref: '#/definitions/model.OrderManage'
      priorityLevel:
        $ref: '#/definitions/model.PriorityLevel'
      priorityLevelId:
@@ -1498,12 +1785,27 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetails:
        $ref: '#/definitions/model.SalesDetails'
      salesDetailsId:
        description: 销售明细id
        type: integer
      serviceContract:
        $ref: '#/definitions/model.ServiceContract'
      serviceContractId:
        description: 服务合同id
        type: integer
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatus:
        $ref: '#/definitions/model.ServiceOrderStatus'
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceType:
        $ref: '#/definitions/model.ServiceType'
      serviceTypeId:
@@ -1517,9 +1819,6 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
@@ -1528,6 +1827,13 @@
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
  model.ServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.ServiceType:
    properties:
@@ -1565,8 +1871,12 @@
        type: integer
      id:
        type: integer
      masterOrder:
        $ref: '#/definitions/model.MasterOrder'
      masterOrderId:
        type: integer
      member:
        $ref: '#/definitions/model.User'
      memberId:
        type: integer
      number:
@@ -1623,6 +1933,40 @@
      username:
        type: string
      uuid:
        type: string
    type: object
  model.WechatOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  product.Product:
    properties:
      Amount:
        description: 库存剩余量
        type: number
      IsSale:
        description: 是否销售
        type: boolean
      MaterialMode:
        description: 物料类型
        type: string
      MinInventory:
        description: 安全库存
        type: integer
      Name:
        type: string
      Number:
        type: string
      PurchaseType:
        description: 采购类型
        type: string
      SalePrice:
        description: 销售价格
        type: number
      Unit:
        type: string
    type: object
  request.AddAccountId:
@@ -1749,6 +2093,18 @@
        type: string
    required:
    - name
    type: object
  request.AddCollectionProjection:
    properties:
      estimated_collection_amount:
        description: 预计收款金额
        type: number
      estimated_collection_time:
        description: 预计收款时间
        type: string
      sale_chance_id:
        description: 销售机会id
        type: integer
    type: object
  request.AddContact:
    properties:
@@ -1922,6 +2278,11 @@
      principalId:
        description: 销售负责人id
        type: integer
      products:
        description: 发票对应产品,从相应源单里获取
        items:
          $ref: '#/definitions/model.Product'
        type: array
      sourceId:
        description: 源单id
        type: integer
@@ -2053,6 +2414,10 @@
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status_id:
        type: integer
      sale_chance_id:
@@ -2069,6 +2434,11 @@
    type: object
  request.AddReceipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
@@ -2083,9 +2453,15 @@
      moneyType:
        description: 币种
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -2099,8 +2475,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  request.AddRefundMethod:
    properties:
@@ -2228,8 +2605,42 @@
    type: object
  request.AddSalesDetails:
    properties:
      salesDetails:
        $ref: '#/definitions/request.SalesDetails'
      address:
        type: string
      addressee:
        type: string
      clientId:
        type: integer
      conditions:
        type: string
      deliveryDate:
        type: string
      logisticCompany:
        type: string
      logisticCost:
        type: number
      logisticNumber:
        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
      wechatOrderStatusId:
        type: integer
    type: object
  request.AddSalesLeads:
    properties:
@@ -2312,8 +2723,6 @@
        type: integer
      contactId:
        type: integer
      contractId:
        type: integer
      endTime:
        type: string
      memberId:
@@ -2330,6 +2739,8 @@
        type: string
      saleChanceId:
        type: integer
      salesDetailsId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -2342,6 +2753,8 @@
        type: string
      typeId:
        type: integer
    required:
    - memberId
    type: object
  request.AddServiceContractStatus:
    properties:
@@ -2456,7 +2869,7 @@
        type: string
      satisfaction:
        type: integer
      serviceId:
      serviceOrderId:
        type: integer
      solveRate:
        type: integer
@@ -2483,9 +2896,6 @@
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expectTime:
        description: 希望处理时间
        type: string
@@ -2494,9 +2904,6 @@
        type: integer
      faultTypeId:
        description: 故障类别id
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priorityLevelId:
        description: 优先级别id
@@ -2516,12 +2923,21 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 销售订单id
        type: integer
      serviceContractId:
        description: 合同id
        type: integer
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceTypeId:
        description: 服务方式id
        type: integer
@@ -2534,15 +2950,19 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
  request.AddServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.AddServiceType:
    properties:
@@ -2620,6 +3040,13 @@
    - vettingId
    - vettingType
    type: object
  request.AddWechatOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.Assign:
    properties:
      ids:
@@ -2629,6 +3056,8 @@
      member_id:
        type: integer
      type:
        description: '类型: client: 客户; salesLead: 销售线索; contact: 联系人; followRecord:
          跟进记录'
        type: string
    type: object
  request.CasbinInfo:
@@ -2760,6 +3189,13 @@
          type: integer
        type: array
    type: object
  request.DeleteServiceContract:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
  request.DeleteServiceFeeManage:
    properties:
      ids:
@@ -2780,12 +3216,25 @@
        description: 用户ID
        type: string
    type: object
  request.DeleteserviceContract:
  request.DownloadFile:
    properties:
      ids:
        items:
          type: integer
        type: array
      id:
        description: 附件id
        type: integer
      key:
        description: 附件存储key
        type: string
      sourceId:
        description: 来源id
        type: integer
      sourceType:
        description: 附件来源
        type: string
    required:
    - id
    - key
    - sourceId
    - sourceType
    type: object
  request.FollowRecord:
    properties:
@@ -2828,31 +3277,39 @@
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; "name": 客户名称; "number":
          公海客户'
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称",
          "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name":
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别"}'
        type: object
    type: object
  request.GetContactList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称",
          "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name":
          "销售负责人", "client_status": "客户状态", "client_level": "重要级别", "is_first": "是否是首要联系人"}'
        type: object
    type: object
  request.GetContractList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{} {"member_name": "销售负责人", "number":
          "合同编号", "created_at": "创建时间"}'
        type: object
    type: object
  request.GetFaqList:
    properties:
@@ -2871,25 +3328,34 @@
    type: object
  request.GetFollowRecordList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题",
          "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time":
          "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话",
          "contact_name": "联系人姓名"}'
        type: object
    type: object
  request.GetMasterOrderList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售总单号",
          "client_name": "客户名称", "member_name": "销售负责人", "start_time": "开始时间", "end_time":
          "结束时间", "money": "总金额", "member_name": "负责人"}'
        type: object
    type: object
  request.GetOrderManageList:
    properties:
@@ -2915,30 +3381,41 @@
    type: object
  request.GetQuotationList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      searchMap:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id":
          销售线索id, "client_name": "客户名称", "member_name": "销售负责人", "contact_name": "联系人",
          "validity_date": "有效期"}'
        type: object
    type: object
  request.GetSaleChanceList:
    properties:
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "机会名称",
          "client_name": "客户名称","number":"编号", "contact_name":"联系人姓名", "member_name":
          "销售负责人", "status": "状态", "sale_stage": "阶段", "possibilities": "可能性", "expected_time":
          "预计成交时间", "budget": "资金绝对值", "projected_amount": "预计合同金额"}'
        type: object
    type: object
  request.GetSalesDetailsList:
    properties:
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.SalesDetailsKeywordType'
      page:
        description: 页码
        type: integer
@@ -2956,8 +3433,8 @@
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"} {"client_name":
          "客户名称", "number": "销售线索编号", "contact_name": "联系人姓名", "phone": "手机号码", "sales_resources":
        description: '搜索条件: map[string]interface{}{"name": "xxx"} {"name": "客户名称",
          "number": "销售线索编号", "contact_name": "联系人姓名", "phone": "手机号码", "sales_resources":
          "商机来源", "city": "城市", "province": "省份", "member_name": "负责人"}'
        type: object
    type: object
@@ -2965,6 +3442,8 @@
    properties:
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.SalesRefundKeywordType'
      page:
        description: 页码
        type: integer
@@ -3025,17 +3504,43 @@
      pageSize:
        description: 每页大小
        type: integer
      serviceOrderId:
        description: 服务回访单id
        type: integer
    type: object
  request.GetSubOrderList:
  request.GetServiceOrderList:
    properties:
      keyword:
        type: string
      keywordType:
        $ref: '#/definitions/constvar.ServiceOrderKeywordType'
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      queryClass:
        $ref: '#/definitions/constvar.ServiceOrderQueryClass'
      salesDetailsId:
        type: integer
      serviceContractId:
        type: integer
    type: object
  request.GetSubOrderList:
    properties:
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      search_map:
        additionalProperties: true
        description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"number": "销售子单号",
          "client_name": "客户名称", "master_order_number": "销售总单号", "member_name": "销售负责人",
          "master_order_id": "销售总单id"}'
        type: object
    type: object
  request.GetUserList:
    properties:
@@ -3084,6 +3589,16 @@
        type: string
      subOrderId:
        type: integer
    type: object
  request.PushSaleChance:
    properties:
      id:
        type: integer
      step:
        type: integer
    required:
    - id
    - step
    type: object
  request.PushSalesLeads:
    properties:
@@ -3163,12 +3678,13 @@
        type: integer
      signTime:
        type: string
      wechatOrderStatus:
      wechatOrderStatusId:
        type: integer
    type: object
  request.SalesRefund:
    properties:
      accountId:
      bankAccountId:
        description: 账户id
        type: integer
      clientId:
        type: integer
@@ -3178,6 +3694,9 @@
        type: integer
      number:
        type: string
      paymentTypeId:
        description: 收款方式ID
        type: integer
      products:
        items:
          $ref: '#/definitions/model.Product'
@@ -3186,8 +3705,13 @@
        type: string
      refundDate:
        type: string
      refundMethod:
        type: string
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.RefundSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
    type: object
  request.SalesReturn:
    properties:
@@ -3198,17 +3722,28 @@
      number:
        type: string
      products:
        description: 退货产品
        items:
          $ref: '#/definitions/model.Product'
        type: array
      reason:
        description: 退货原因
        type: string
      repository:
        type: string
      returnDate:
        description: 退货日期
        type: string
      status:
      salesReturnStatusId:
        description: 退货状态id
        type: integer
      sourceId:
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.SalesReturnSourceType'
        description: 源单类型(1销售明细)
    type: object
  request.SetAuthorityMenu:
    properties:
@@ -3443,6 +3978,17 @@
        type: array
    required:
    - client_types
    type: object
  request.UpdateCollectionProjection:
    properties:
      estimated_collection_amount:
        description: 预计收款金额
        type: number
      estimated_collection_time:
        description: 预计收款时间
        type: string
      id:
        type: integer
    type: object
  request.UpdateContact:
    properties:
@@ -3685,6 +4231,11 @@
      principalId:
        description: 销售负责人id
        type: integer
      products:
        description: 发票对应产品,从相应源单里获取
        items:
          $ref: '#/definitions/model.Product'
        type: array
      sourceId:
        description: 源单id
        type: integer
@@ -3697,6 +4248,8 @@
      taxpayerIdNumber:
        description: 纳税识别号
        type: string
    required:
    - id
    type: object
  request.UpdateInvoiceStatus:
    properties:
@@ -3882,6 +4435,10 @@
        type: integer
      number:
        type: string
      products:
        items:
          $ref: '#/definitions/model.Product'
        type: array
      quotation_status_id:
        type: integer
      sale_chance_id:
@@ -3910,6 +4467,11 @@
    type: object
  request.UpdateReceipt:
    properties:
      amount:
        description: 收款金额
        type: number
      bankAccount:
        $ref: '#/definitions/model.BankAccount'
      bankAccountId:
        description: 账户id
        type: integer
@@ -3924,9 +4486,15 @@
      moneyType:
        description: 币种
        type: string
      paymentType:
        $ref: '#/definitions/model.PaymentType'
      paymentTypeId:
        description: 收款方式ID
        type: integer
      principal:
        allOf:
        - $ref: '#/definitions/model.User'
        description: 负责人id
      principalId:
        description: 负责人id
        type: integer
@@ -3940,8 +4508,9 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.ReceiptSourceType'
        description: 来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)
        type: integer
    type: object
  request.UpdateRefundMethod:
    properties:
@@ -4282,6 +4851,15 @@
      amount:
        description: 金额
        type: number
      amountReceivable:
        description: 应收金额
        type: number
      amountReceived:
        description: 已收金额
        type: number
      amountTotal:
        description: 总额
        type: number
      collectionDate:
        description: 计划收款日期
        type: string
@@ -4309,12 +4887,13 @@
        description: 源单id
        type: integer
      sourceType:
        allOf:
        - $ref: '#/definitions/constvar.CollectionSourceType'
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        description: 状态(1未收2部分已收3已收)
      term:
        description: 期次
        type: integer
@@ -4324,8 +4903,6 @@
      clientId:
        type: integer
      contactId:
        type: integer
      contractId:
        type: integer
      endTime:
        type: string
@@ -4345,6 +4922,8 @@
        type: string
      saleChanceId:
        type: integer
      salesDetailsId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
@@ -4357,6 +4936,8 @@
        type: string
      typeId:
        type: integer
    required:
    - memberId
    type: object
  request.UpdateServiceContractStatus:
    properties:
@@ -4497,7 +5078,7 @@
        type: string
      satisfaction:
        type: integer
      serviceId:
      serviceOrderId:
        type: integer
      solveRate:
        type: integer
@@ -4524,9 +5105,6 @@
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expectTime:
        description: 希望处理时间
        type: string
@@ -4537,9 +5115,6 @@
        description: 故障类别id
        type: integer
      id:
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priorityLevelId:
        description: 优先级别id
@@ -4559,12 +5134,21 @@
      saleChanceId:
        description: 销售机会id
        type: integer
      salesDetailsId:
        description: 销售订单id
        type: integer
      serviceContractId:
        description: 合同id
        type: integer
      serviceManId:
        description: 服务人员
        type: integer
      serviceNumber:
        description: 服务单编号
        type: string
      serviceOrderStatusId:
        description: 处理状态
        type: integer
      serviceTypeId:
        description: 服务方式id
        type: integer
@@ -4577,15 +5161,19 @@
      solutionRemark:
        description: 内部备注
        type: string
      status:
        description: 处理状态
        type: integer
      subject:
        description: 主题
        type: string
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
  request.UpdateServiceOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  request.UpdateServiceType:
    properties:
@@ -4691,6 +5279,13 @@
    required:
    - id
    - status
    type: object
  request.UpdateWechatOrderStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  response.AccountIdResponse:
    properties:
@@ -6041,6 +6636,83 @@
      summary: 更新客户类型
      tags:
      - ClientType
  /api/collectionProjection/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddCollectionProjection'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加收款预测
      tags:
      - CollectionProjection
  /api/collectionProjection/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:
      - CollectionProjection
  /api/collectionProjection/list:
    post:
      parameters:
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 获取收款预测列表
      tags:
      - CollectionProjection
  /api/collectionProjection/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateCollectionProjection'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新收款预测
      tags:
      - CollectionProjection
  /api/contact/add:
    post:
      parameters:
@@ -6957,49 +7629,42 @@
      summary: 删除附件
      tags:
      - 附件管理
  /api/file/list:
    get:
  /api/file/download:
    post:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - FileKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - FileQueryClassExpireLessThen60Days
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DownloadFile'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.File'
                  type: array
              type: object
      summary: 获取附件列表
            $ref: '#/definitions/contextx.Response'
      summary: 附件下载
      tags:
      - 附件管理
  /api/file/preview:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DownloadFile'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 附件预览
      tags:
      - 附件管理
  /api/followRecord/add:
@@ -8210,6 +8875,65 @@
      summary: 更新优先级别
      tags:
      - 优先级别管理
  /api/product/info:
    get:
      parameters:
      - description: 参数
        in: query
        name: productNumber
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/product.Product'
              type: object
      summary: 获取产品详情
      tags:
      - 产品
  /api/product/list:
    get:
      parameters:
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - description: 产品名称
        in: query
        name: productName
        type: string
      - description: 产品编码
        in: query
        name: productNumber
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/product.Product'
                  type: array
              type: object
      summary: 获取产品列表
      tags:
      - 产品
  /api/province/add:
    post:
      parameters:
@@ -9081,6 +9805,25 @@
      summary: 销售机会列表
      tags:
      - SaleChance
  /api/saleChance/push:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.PushSaleChance'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 推进销售机会
      tags:
      - SaleChance
  /api/saleChance/update:
    put:
      parameters:
@@ -9912,7 +10655,7 @@
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DeleteserviceContract'
          $ref: '#/definitions/request.DeleteServiceContract'
      produces:
      - application/json
      responses:
@@ -9944,7 +10687,7 @@
                data:
                  $ref: '#/definitions/response.ServiceContractsResponse'
              type: object
      summary: 生成计划列表
      summary: 服务合同列表
      tags:
      - ServiceContract
  /api/serviceContract/update:
@@ -10312,7 +11055,14 @@
      tags:
      - 服务单管理
  /api/serviceOrder/list:
    get:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetServiceOrderList'
      produces:
      - application/json
      responses:
@@ -10349,6 +11099,107 @@
      summary: 更新服务单
      tags:
      - 服务单管理
  /api/serviceOrderStatus/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddServiceOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务单状态
      tags:
      - 服务单状态
  /api/serviceOrderStatus/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:
      - 服务单状态
  /api/serviceOrderStatus/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - ServiceOrderStatusKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - ServiceOrderStatusQueryClassExpireLessThen60Days
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.ServiceOrderStatus'
                  type: array
              type: object
      summary: 获取服务单状态列表
      tags:
      - 服务单状态
  /api/serviceOrderStatus/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务单状态
      tags:
      - 服务单状态
  /api/serviceType/add:
    post:
      parameters:
@@ -11061,4 +11912,105 @@
      summary: 更新审批
      tags:
      - Vetting
  /api/wechatOrderStatus/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddWechatOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加微信订单状态
      tags:
      - 微信订单状态
  /api/wechatOrderStatus/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:
      - 微信订单状态
  /api/wechatOrderStatus/list:
    get:
      parameters:
      - in: query
        name: keyword
        type: string
      - enum:
        - ""
        in: query
        name: keywordType
        type: string
        x-enum-varnames:
        - WechatOrderStatusKeywordCustomerName
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - enum:
        - ""
        in: query
        name: queryClass
        type: string
        x-enum-varnames:
        - WechatOrderStatusQueryClassExpireLessThen60Days
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.ListResponse'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.WechatOrderStatus'
                  type: array
              type: object
      summary: 获取微信订单状态列表
      tags:
      - 微信订单状态
  /api/wechatOrderStatus/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateWechatOrderStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新微信订单状态
      tags:
      - 微信订单状态
swagger: "2.0"