zhangqian
2023-08-07 4b63908ad085bc570623f7b0c0fd397b2ae7a80d
docs/swagger.yaml
@@ -11,6 +11,17 @@
    type: string
    x-enum-varnames:
    - BankAccountQueryClassExpireLessThen60Days
  constvar.CollectionStatus:
    enum:
    - 1
    - 2
    type: integer
    x-enum-comments:
      CollectionStatusCollected: 已收款
      CollectionStatusUnCollected: 待收款
    x-enum-varnames:
    - CollectionStatusUnCollected
    - CollectionStatusCollected
  constvar.FaqKeywordType:
    enum:
    - ""
@@ -1173,8 +1184,9 @@
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        type: integer
      term:
        description: 期次
        type: integer
@@ -1731,18 +1743,6 @@
      name:
        type: string
    type: object
  request.AddFile:
    properties:
      sourceId:
        description: 来源id
        type: integer
      sourceType:
        description: 附件来源
        type: string
    required:
    - sourceId
    - sourceType
    type: object
  request.AddFollowRecord:
    properties:
      follow_record:
@@ -2110,6 +2110,8 @@
        items:
          $ref: '#/definitions/model.ServiceCollectionPlan'
        type: array
    required:
    - list
    type: object
  request.AddServiceContract:
    properties:
@@ -4022,8 +4024,9 @@
        description: 源单类型(1销售明细2服务合同3销售发票)
        type: integer
      status:
        allOf:
        - $ref: '#/definitions/constvar.CollectionStatus'
        description: 状态(1未收2已收)
        type: integer
      term:
        description: 期次
        type: integer
@@ -6518,12 +6521,21 @@
  /api/file/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
      - description: 来源id
        in: formData
        name: sourceId
        required: true
        schema:
          $ref: '#/definitions/request.AddFile'
        type: integer
      - description: 附件来源
        in: formData
        name: sourceType
        required: true
        type: string
      - description: 上传文件
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses: