add
wangpengfei
2023-07-13 a35c7eb12dcce7c650025ba4d801d6ad6f1053c4
docs/swagger.yaml
@@ -296,6 +296,23 @@
          $ref: '#/definitions/model.Province'
        type: array
    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.EnterpriseNature:
    properties:
      id:
@@ -723,12 +740,31 @@
      typeId:
        type: integer
    type: object
  model.ServiceFeeManage:
    properties:
      client:
        $ref: '#/definitions/model.Client'
      client_id:
        type: integer
      file:
        type: string
      id:
        type: integer
      latest_date:
        type: string
      member_id:
        type: integer
      remark:
        type: string
    type: object
  model.ServiceFollowup:
    properties:
      clientId:
        type: integer
      contactId:
        type: integer
      customerServiceSheet:
        $ref: '#/definitions/model.CustomerServiceSheet'
      file:
        type: string
      id:
@@ -1293,6 +1329,19 @@
      typeId:
        type: integer
    type: object
  request.AddServiceFeeManage:
    properties:
      client_id:
        type: integer
      file:
        type: string
      latest_date:
        type: string
      member_id:
        type: integer
      remark:
        type: string
    type: object
  request.AddServiceFollowup:
    properties:
      clientId:
@@ -1363,6 +1412,76 @@
      pos:
        description: 用户岗位
        type: string
    type: object
  request.Client:
    properties:
      business_scope:
        description: 经营范围
        type: string
      city_id:
        type: integer
      client_level_id:
        description: 客户等级ID
        type: integer
      client_origin_id:
        description: 客户来源ID
        type: integer
      client_status_id:
        description: 客户状态ID
        type: integer
      client_type_id:
        description: 客户类型ID
        type: integer
      contact:
        $ref: '#/definitions/request.Contact'
      country_id:
        type: integer
      detail_address:
        description: 详细地址
        type: string
      enterprise_nature_id:
        description: 企业性质
        type: integer
      enterprise_scale_id:
        description: 企业规模
        type: integer
      industry_id:
        description: 所属行业
        type: integer
      latest_service_time:
        description: 最晚服务时间
        type: string
      member_id:
        description: 销售负责人ID
        type: integer
      name:
        description: 公司名称
        type: string
      next_visit_time:
        description: 下次回访时间
        type: string
      number:
        description: 公司编号
        type: string
      province_id:
        type: integer
      region_id:
        type: integer
      registered_capital_id:
        description: 注册资金
        type: integer
      registration_time:
        description: 注册时间
        type: string
      remark:
        description: 备注
        type: string
      representative:
        description: 法人代表
        type: string
      service_member_id:
        description: 服务负责人ID
        type: integer
    type: object
  request.Contact:
    properties:
@@ -2363,6 +2482,23 @@
      typeId:
        type: integer
    type: object
  request.UpdateServiceFeeManage:
    properties:
      client:
        $ref: '#/definitions/request.Client'
      client_id:
        type: integer
      file:
        type: string
      id:
        type: integer
      latest_date:
        type: string
      member_id:
        type: integer
      remark:
        type: string
    type: object
  request.UpdateServiceFollowup:
    properties:
      clientId:
@@ -2643,6 +2779,13 @@
      list:
        items:
          $ref: '#/definitions/model.ServiceContract'
        type: array
    type: object
  response.ServiceFeeManageResponse:
    properties:
      list:
        items:
          $ref: '#/definitions/model.ServiceFeeManage'
        type: array
    type: object
  response.ServiceFollowupResponse:
@@ -5099,6 +5242,79 @@
      summary: 更新服务合同
      tags:
      - ServiceContract
  /api/serviceFeeManage/add:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.AddServiceFeeManage'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 添加服务费管理
      tags:
      - ServiceFeeManage
  /api/serviceFeeManage/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:
      - ServiceFeeManage
  /api/serviceFeeManage/list:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  $ref: '#/definitions/response.ServiceFeeManageResponse'
              type: object
      summary: 服务费管理列表
      tags:
      - ServiceFeeManage
  /api/serviceFeeManage/update:
    put:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateServiceFeeManage'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新服务费管理
      tags:
      - ServiceFeeManage
  /api/serviceFollowup/add:
    post:
      parameters: