add
wangpengfei
2023-07-21 58b19364744f6f61c64978dda97b01eec37823b0
docs/swagger.yaml
@@ -839,18 +839,25 @@
        type: string
      saleChanceId:
        type: integer
      serviceContractStatusId:
        type: integer
      serviceTimes:
        type: integer
      signTime:
        type: string
      startTime:
        type: string
      statusId:
        type: integer
      terms:
        type: string
      typeId:
        type: integer
    type: object
  model.ServiceContractStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    type: object
  model.ServiceFeeManage:
    properties:
@@ -1495,6 +1502,13 @@
        type: string
      typeId:
        type: integer
    type: object
  request.AddServiceContractStatus:
    properties:
      name:
        type: string
    required:
    - name
    type: object
  request.AddServiceFeeManage:
    properties:
@@ -2779,6 +2793,25 @@
      typeId:
        type: integer
    type: object
  request.UpdateServiceContractStatus:
    properties:
      id:
        type: integer
      name:
        type: string
    required:
    - id
    - name
    type: object
  request.UpdateServiceContractStatuss:
    properties:
      service_contract_status:
        items:
          $ref: '#/definitions/request.UpdateServiceContractStatus'
        type: array
    required:
    - service_contract_status
    type: object
  request.UpdateServiceFeeManage:
    properties:
      business_scope:
@@ -3133,6 +3166,11 @@
        items:
          $ref: '#/definitions/model.Satisfaction'
        type: array
      serviceContractStatus:
        description: 服务合同状态
        items:
          $ref: '#/definitions/model.ServiceContractStatus'
        type: array
      solve_rate:
        description: 解决率
        items:
@@ -3336,6 +3374,13 @@
      list:
        items:
          $ref: '#/definitions/model.Satisfaction'
        type: array
    type: object
  response.ServiceContractStatusResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.ServiceContractStatus'
        type: array
    type: object
  response.ServiceContractsResponse:
@@ -6295,6 +6340,79 @@
      summary: 更新服务合同
      tags:
      - ServiceContract
  /api/serviceContractStatus/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddServiceContractStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务合同状态
      tags:
      - ServiceContractStatus
  /api/serviceContractStatus/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:
      - ServiceContractStatus
  /api/serviceContractStatus/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.ServiceContractStatusResponse'
              type: object
      summary: 获取服务合同状态列表
      tags:
      - ServiceContractStatus
  /api/serviceContractStatus/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceContractStatuss'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务合同状态
      tags:
      - ServiceContractStatus
  /api/serviceFeeManage/add:
    post:
      parameters: