add
wangpengfei
2023-07-21 823296cc595b3167c31a6257352c136568d0aaaf
docs/swagger.yaml
@@ -402,6 +402,13 @@
      name:
        type: string
    type: object
  model.IsInvoice:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.IsVisit:
    properties:
      id:
@@ -1211,6 +1218,13 @@
    - follow_record
    type: object
  request.AddIndustry:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddIsInvoice:
    properties:
      name:
        type: string
@@ -2361,6 +2375,25 @@
    - id
    - name
    type: object
  request.UpdateIsInvoice:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateIsInvoices:
    properties:
      is_invoice:
        items:
          $ref: '#/definitions/request.UpdateIsInvoice'
        type: array
    required:
    - is_invoice
    type: object
  request.UpdateIsVisit:
    properties:
      id:
@@ -3172,6 +3205,11 @@
        items:
          $ref: '#/definitions/model.Industry'
        type: array
      isInvoice:
        description: 是否开票
        items:
          $ref: '#/definitions/model.IsInvoice'
        type: array
      isVisit:
        description: 服务人员是否来过
        items:
@@ -3291,6 +3329,13 @@
      list:
        items:
          $ref: '#/definitions/model.Industry'
        type: array
    type: object
  response.IsInvoiceResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.IsInvoice'
        type: array
    type: object
  response.IsVisitResponse:
@@ -4759,6 +4804,79 @@
      summary: 更新行业
      tags:
      - Industry
  /api/isInvoice/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddIsInvoice'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加是否开票
      tags:
      - IsInvoice
  /api/isInvoice/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:
      - IsInvoice
  /api/isInvoice/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.IsInvoiceResponse'
              type: object
      summary: 获取是否开票列表
      tags:
      - IsInvoice
  /api/isInvoice/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateIsInvoices'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新是否开票
      tags:
      - IsInvoice
  /api/isVisit/add:
    post:
      parameters: