zhangqian
2023-08-05 f04def67f695e69591ccdd73bb339c6f402b477c
docs/swagger.yaml
@@ -1095,13 +1095,13 @@
      address:
        description: 上门地址
        type: string
      appointment_time:
      appointmentTime:
        description: 预约上门时间
        type: string
      car_fare:
      carFare:
        description: 交通费
        type: number
      charge_amount:
      chargeAmount:
        description: 收费金额
        type: number
      client:
@@ -1111,7 +1111,7 @@
        type: integer
      contact:
        $ref: '#/definitions/model.Contact'
      contact_id:
      contactId:
        description: 联系人id
        type: integer
      contract:
@@ -1119,35 +1119,40 @@
      contractId:
        description: 合同id
        type: integer
      expect_time:
      expectTime:
        description: 希望处理时间
        type: string
      faq:
        $ref: '#/definitions/model.Faq'
      faqId:
        description: 常见问题id
        type: integer
      faultType:
        $ref: '#/definitions/model.FaultType'
      faultTypeId:
        description: 故障类别id
        type: integer
      id:
        type: integer
      order:
        $ref: '#/definitions/model.OrderManage'
      orderId:
        description: 销售订单id
        type: integer
      priority_level_id:
        description: 优先级别
        type: integer
      orderManage:
        $ref: '#/definitions/model.OrderManage'
      priorityLevel:
        $ref: '#/definitions/model.PriorityLevel'
      problem_desc:
      priorityLevelId:
        description: 优先级别id
        type: integer
      problemDesc:
        description: 问题描述
        type: string
      problem_id:
        description: 常见问题id
        type: integer
      product:
        $ref: '#/definitions/model.Product'
      productId:
        description: 产品id
        type: integer
      real_time:
      realTime:
        description: 实际处理时间
        type: string
      remark:
@@ -1167,14 +1172,14 @@
      serviceType:
        $ref: '#/definitions/model.ServiceType'
      serviceTypeId:
        description: 服务方式
        description: 服务方式id
        type: integer
      severity:
        $ref: '#/definitions/model.Severity'
      solution:
        description: 解决方法
        type: string
      solution_remark:
      solutionRemark:
        description: 内部备注
        type: string
      status:
@@ -1183,7 +1188,9 @@
      subject:
        description: 主题
        type: string
      time_spent_id:
      timeSpent:
        $ref: '#/definitions/model.TimeSpent'
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
@@ -2001,43 +2008,46 @@
      address:
        description: 上门地址
        type: string
      appointment_time:
      appointmentTime:
        description: 预约上门时间
        type: string
      car_fare:
      carFare:
        description: 交通费
        type: number
      charge_amount:
      chargeAmount:
        description: 收费金额
        type: number
      clientId:
        description: 客户id
        type: integer
      contact_id:
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expect_time:
      expectTime:
        description: 希望处理时间
        type: string
      faqId:
        description: 常见问题id
        type: integer
      faultTypeId:
        description: 故障类别id
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priority_level_id:
        description: 优先级别
      priorityLevelId:
        description: 优先级别id
        type: integer
      problem_desc:
      problemDesc:
        description: 问题描述
        type: string
      problem_id:
        description: 常见问题id
        type: integer
      productId:
        description: 产品id
        type: integer
      real_time:
      realTime:
        description: 实际处理时间
        type: string
      remark:
@@ -2053,15 +2063,15 @@
        description: 服务单编号
        type: string
      serviceTypeId:
        description: 服务方式
        description: 服务方式id
        type: integer
      severity:
        description: 严重程度
        description: 严重程度id
        type: integer
      solution:
        description: 解决方法
        type: string
      solution_remark:
      solutionRemark:
        description: 内部备注
        type: string
      status:
@@ -2070,7 +2080,7 @@
      subject:
        description: 主题
        type: string
      time_spent_id:
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
@@ -3796,45 +3806,48 @@
      address:
        description: 上门地址
        type: string
      appointment_time:
      appointmentTime:
        description: 预约上门时间
        type: string
      car_fare:
      carFare:
        description: 交通费
        type: number
      charge_amount:
      chargeAmount:
        description: 收费金额
        type: number
      clientId:
        description: 客户id
        type: integer
      contact_id:
      contactId:
        description: 联系人id
        type: integer
      contractId:
        description: 合同id
        type: integer
      expect_time:
      expectTime:
        description: 希望处理时间
        type: string
      faqId:
        description: 常见问题id
        type: integer
      faultTypeId:
        description: 故障类别id
        type: integer
      id:
        type: integer
      orderId:
        description: 销售订单id
        type: integer
      priority_level_id:
        description: 优先级别
      priorityLevelId:
        description: 优先级别id
        type: integer
      problem_desc:
      problemDesc:
        description: 问题描述
        type: string
      problem_id:
        description: 常见问题id
        type: integer
      productId:
        description: 产品id
        type: integer
      real_time:
      realTime:
        description: 实际处理时间
        type: string
      remark:
@@ -3850,15 +3863,15 @@
        description: 服务单编号
        type: string
      serviceTypeId:
        description: 服务方式
        description: 服务方式id
        type: integer
      severity:
        description: 严重程度
        description: 严重程度id
        type: integer
      solution:
        description: 解决方法
        type: string
      solution_remark:
      solutionRemark:
        description: 内部备注
        type: string
      status:
@@ -3867,7 +3880,7 @@
      subject:
        description: 主题
        type: string
      time_spent_id:
      timeSpentId:
        description: 花费时间
        type: integer
    type: object
@@ -8738,9 +8751,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务类型
      summary: 添加服务方式
      tags:
      - 服务类型管理
      - 服务方式管理
  /api/serviceType/delete/{id}:
    delete:
      parameters:
@@ -8756,9 +8769,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除服务类型
      summary: 删除服务方式
      tags:
      - 服务类型管理
      - 服务方式管理
  /api/serviceType/list:
    get:
      produces:
@@ -8775,9 +8788,9 @@
                    $ref: '#/definitions/model.ServiceType'
                  type: array
              type: object
      summary: 获取服务类型列表
      summary: 获取服务方式列表
      tags:
      - 服务类型管理
      - 服务方式管理
  /api/serviceType/update:
    put:
      parameters:
@@ -8794,9 +8807,9 @@
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务类型
      summary: 更新服务方式
      tags:
      - 服务类型管理
      - 服务方式管理
  /api/severity/add:
    post:
      parameters: