...
|
...
|
@@ -41,6 +41,20 @@ paths: |
|
|
$ref: '#/definitions/ConfigListCustomerValueResponseBody'
|
|
|
schemes:
|
|
|
- http
|
|
|
/config/employee-permissions:
|
|
|
get:
|
|
|
tags:
|
|
|
- config
|
|
|
summary: 返回员工权限字典列表(1任务管理,2素币管理,3成员管理)
|
|
|
description: 返回员工权限字典列表(1任务管理,2素币管理,3成员管理)
|
|
|
operationId: config#listEmployeePermission
|
|
|
responses:
|
|
|
"200":
|
|
|
description: OK response.
|
|
|
schema:
|
|
|
$ref: '#/definitions/ConfigListEmployeePermissionResponseBody'
|
|
|
schemes:
|
|
|
- http
|
|
|
/config/reference-resource-types:
|
|
|
get:
|
|
|
tags:
|
...
|
...
|
@@ -105,6 +119,16 @@ paths: |
|
|
description: 返回员工列表
|
|
|
operationId: employee#listEmployee
|
|
|
parameters:
|
|
|
- name: companyId
|
|
|
in: query
|
|
|
description: 公司ID
|
|
|
required: false
|
|
|
type: integer
|
|
|
- name: employeeNameMatch
|
|
|
in: query
|
|
|
description: 员工姓名匹配
|
|
|
required: false
|
|
|
type: string
|
|
|
- name: offset
|
|
|
in: query
|
|
|
description: 查询偏离量
|
...
|
...
|
@@ -344,6 +368,46 @@ paths: |
|
|
$ref: '#/definitions/SuMoneySearchSuMoneyTransactionRecordResponseBody'
|
|
|
schemes:
|
|
|
- http
|
|
|
/su-money/su-money-transaction-record-statistics:
|
|
|
post:
|
|
|
tags:
|
|
|
- suMoney
|
|
|
summary: 素币事务记录统计
|
|
|
description: 素币事务记录统计
|
|
|
operationId: suMoney#suMoneyTransactionRecordStatistics
|
|
|
parameters:
|
|
|
- name: SuMoneyTransactionRecordStatisticsRequestBody
|
|
|
in: body
|
|
|
required: true
|
|
|
schema:
|
|
|
$ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsRequestBody'
|
|
|
responses:
|
|
|
"200":
|
|
|
description: OK response.
|
|
|
schema:
|
|
|
$ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsResponseBody'
|
|
|
schemes:
|
|
|
- http
|
|
|
/su-money/su-money-transaction-records/{suMoneyTransactionRecordId}:
|
|
|
get:
|
|
|
tags:
|
|
|
- suMoney
|
|
|
summary: 返回素币事务记录
|
|
|
description: 返回素币事务记录
|
|
|
operationId: suMoney#getSuMoneyTransactionRecord
|
|
|
parameters:
|
|
|
- name: suMoneyTransactionRecordId
|
|
|
in: path
|
|
|
description: 素币事务记录ID
|
|
|
required: true
|
|
|
type: integer
|
|
|
responses:
|
|
|
"200":
|
|
|
description: OK response.
|
|
|
schema:
|
|
|
$ref: '#/definitions/SuMoneyGetSuMoneyTransactionRecordResponseBody'
|
|
|
schemes:
|
|
|
- http
|
|
|
/tasks:
|
|
|
get:
|
|
|
tags:
|
...
|
...
|
@@ -382,7 +446,10 @@ paths: |
|
|
in: query
|
|
|
description: 客户价值
|
|
|
required: false
|
|
|
type: string
|
|
|
type: array
|
|
|
items:
|
|
|
type: string
|
|
|
collectionFormat: multi
|
|
|
- name: taskNature
|
|
|
in: query
|
|
|
description: 任务性质
|
...
|
...
|
@@ -741,6 +808,14 @@ definitions: |
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/configResponseBody'
|
|
|
ConfigListEmployeePermissionResponseBody:
|
|
|
title: 'Mediatype identifier: ConfigListEmployeePermissionResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
employeePermissions:
|
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/configResponseBody'
|
|
|
ConfigListReferenceResourceTypeResponseBody:
|
|
|
title: 'Mediatype identifier: ConfigListReferenceResourceTypeResponseBody'
|
|
|
type: object
|
...
|
...
|
@@ -780,6 +855,9 @@ definitions: |
|
|
employeeAccount:
|
|
|
type: string
|
|
|
description: 员工账号
|
|
|
employeeAvatarUrl:
|
|
|
type: string
|
|
|
description: 员工头像URL
|
|
|
employeeName:
|
|
|
type: string
|
|
|
description: 员工姓名
|
...
|
...
|
@@ -825,9 +903,18 @@ definitions: |
|
|
employeeAccount:
|
|
|
type: string
|
|
|
description: 员工账号
|
|
|
employeeAvatarUrl:
|
|
|
type: string
|
|
|
description: 员工头像URL
|
|
|
employeeName:
|
|
|
type: string
|
|
|
description: 员工姓名
|
|
|
permissions:
|
|
|
type: array
|
|
|
items:
|
|
|
type: integer
|
|
|
format: int64
|
|
|
description: 员工权限集合
|
|
|
EmployeeUpdateEmployeeResponseBody:
|
|
|
title: 'Mediatype identifier: EmployeeUpdateEmployeeResponseBody'
|
|
|
type: object
|
...
|
...
|
@@ -850,7 +937,9 @@ definitions: |
|
|
required:
|
|
|
- companyId
|
|
|
customerValue:
|
|
|
type: string
|
|
|
type: array
|
|
|
items:
|
|
|
type: string
|
|
|
description: 客户价值
|
|
|
limit:
|
|
|
type: integer
|
...
|
...
|
@@ -964,6 +1053,12 @@ definitions: |
|
|
properties:
|
|
|
suMoneyTransactionRecord:
|
|
|
$ref: '#/definitions/suMoneyTransactionRecordResponseBody'
|
|
|
SuMoneyGetSuMoneyTransactionRecordResponseBody:
|
|
|
title: 'Mediatype identifier: SuMoneyGetSuMoneyTransactionRecordResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
suMoneyTransactionRecord:
|
|
|
$ref: '#/definitions/suMoneyTransactionRecordResponseBody'
|
|
|
SuMoneySearchSuMoneyTransactionRecordRequestBody:
|
|
|
title: SuMoneySearchSuMoneyTransactionRecordRequestBody
|
|
|
type: object
|
...
|
...
|
@@ -1010,6 +1105,37 @@ definitions: |
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/suMoneyTransactionRecordResponseBody'
|
|
|
SuMoneySuMoneyTransactionRecordStatisticsRequestBody:
|
|
|
title: SuMoneySuMoneyTransactionRecordStatisticsRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
transactionEndTime:
|
|
|
type: string
|
|
|
description: 事务时间区间-截止时间
|
|
|
format: datetime
|
|
|
transactionStartTime:
|
|
|
type: string
|
|
|
description: 事务时间区间-开始时间
|
|
|
format: datetime
|
|
|
uid:
|
|
|
type: integer
|
|
|
description: 统一用户UID
|
|
|
required:
|
|
|
- uid
|
|
|
SuMoneySuMoneyTransactionRecordStatisticsResponseBody:
|
|
|
title: 'Mediatype identifier: SuMoneySuMoneyTransactionRecordStatisticsResponseBody'
|
|
|
type: object
|
|
|
properties:
|
|
|
expendSuMoney:
|
|
|
type: number
|
|
|
description: 支出素币
|
|
|
required:
|
|
|
- expendSuMoney
|
|
|
incomeSuMoney:
|
|
|
type: number
|
|
|
description: 收入素币
|
|
|
required:
|
|
|
- incomeSuMoney
|
|
|
TaskAcceptanceTaskRequestBody:
|
|
|
title: TaskAcceptanceTaskRequestBody
|
|
|
type: object
|
...
|
...
|
@@ -1025,6 +1151,11 @@ definitions: |
|
|
type: integer
|
|
|
format: int64
|
|
|
description: 任务参与者UID列表
|
|
|
referenceResourceScore:
|
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/referenceResourceItemRequestBody'
|
|
|
description: 引用资源解决分
|
|
|
solvePictureUrls:
|
|
|
type: array
|
|
|
items:
|
...
|
...
|
@@ -1113,6 +1244,11 @@ definitions: |
|
|
type: string
|
|
|
description: 竞标开始时间
|
|
|
format: datetime
|
|
|
companyId:
|
|
|
type: integer
|
|
|
description: 公司ID
|
|
|
required:
|
|
|
- companyId
|
|
|
customerValue:
|
|
|
type: array
|
|
|
items:
|
...
|
...
|
@@ -1249,7 +1385,9 @@ definitions: |
|
|
required:
|
|
|
- companyId
|
|
|
customerValue:
|
|
|
type: string
|
|
|
type: array
|
|
|
items:
|
|
|
type: string
|
|
|
description: 客户价值
|
|
|
limit:
|
|
|
type: integer
|
...
|
...
|
@@ -1307,11 +1445,16 @@ definitions: |
|
|
required:
|
|
|
- companyId
|
|
|
customerValue:
|
|
|
type: string
|
|
|
type: array
|
|
|
items:
|
|
|
type: string
|
|
|
description: 客户价值
|
|
|
isFilterCloseStatus:
|
|
|
type: boolean
|
|
|
description: 是否过滤关闭状态任务
|
|
|
isFilterUnReleasedStatus:
|
|
|
type: boolean
|
|
|
description: 是否过滤待发布状态任务
|
|
|
isRewardTake:
|
|
|
type: boolean
|
|
|
description: 是否悬赏任务
|
...
|
...
|
@@ -1471,6 +1614,9 @@ definitions: |
|
|
employeeAccount:
|
|
|
type: string
|
|
|
description: 员工账号
|
|
|
employeeAvatarUrl:
|
|
|
type: string
|
|
|
description: 员工头像URL
|
|
|
employeeName:
|
|
|
type: string
|
|
|
description: 员工姓名
|
...
|
...
|
@@ -1489,6 +1635,9 @@ definitions: |
|
|
employeeAccount:
|
|
|
type: string
|
|
|
description: 员工账号
|
|
|
employeeAvatarUrl:
|
|
|
type: string
|
|
|
description: 员工头像URL
|
|
|
employeeName:
|
|
|
type: string
|
|
|
description: 员工姓名
|
...
|
...
|
@@ -1516,6 +1665,14 @@ definitions: |
|
|
- employeeId
|
|
|
employeeInfo:
|
|
|
$ref: '#/definitions/employeeInfoResponseBody'
|
|
|
permissions:
|
|
|
type: array
|
|
|
items:
|
|
|
type: integer
|
|
|
format: int64
|
|
|
description: 员工权限集合
|
|
|
required:
|
|
|
- permissions
|
|
|
status:
|
|
|
type: integer
|
|
|
description: 员工状态(启用或者禁用)
|
...
|
...
|
@@ -1624,11 +1781,30 @@ definitions: |
|
|
title: referenceResourceItemRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
content:
|
|
|
type: string
|
|
|
description: 内容
|
|
|
required:
|
|
|
- content
|
|
|
issueScore:
|
|
|
type: number
|
|
|
description: 问题总分
|
|
|
format: double
|
|
|
referenceResourceId:
|
|
|
type: integer
|
|
|
description: 引用资源ID
|
|
|
required:
|
|
|
- referenceResourceId
|
|
|
serialNumber:
|
|
|
type: integer
|
|
|
description: 编号
|
|
|
required:
|
|
|
- serialNumber
|
|
|
solveScore:
|
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/solveScoreItemRequestBody'
|
|
|
description: 解决评分明细
|
|
|
title:
|
|
|
type: string
|
|
|
description: 标题
|
...
|
...
|
@@ -1639,11 +1815,30 @@ definitions: |
|
|
title: referenceResourceItemResponseBody
|
|
|
type: object
|
|
|
properties:
|
|
|
content:
|
|
|
type: string
|
|
|
description: 内容
|
|
|
required:
|
|
|
- content
|
|
|
issueScore:
|
|
|
type: number
|
|
|
description: 问题总分
|
|
|
format: double
|
|
|
referenceResourceId:
|
|
|
type: integer
|
|
|
description: 引用资源ID
|
|
|
required:
|
|
|
- referenceResourceId
|
|
|
serialNumber:
|
|
|
type: integer
|
|
|
description: 编号
|
|
|
required:
|
|
|
- serialNumber
|
|
|
solveScore:
|
|
|
type: array
|
|
|
items:
|
|
|
$ref: '#/definitions/solveScoreItemResponseBody'
|
|
|
description: 解决评分明细
|
|
|
title:
|
|
|
type: string
|
|
|
description: 标题
|
...
|
...
|
@@ -1696,6 +1891,50 @@ definitions: |
|
|
receiver:
|
|
|
$ref: '#/definitions/employeeInfoResponseBody'
|
|
|
description: 抢单任务信息
|
|
|
solveScoreItemRequestBody:
|
|
|
title: solveScoreItemRequestBody
|
|
|
type: object
|
|
|
properties:
|
|
|
contributor:
|
|
|
$ref: '#/definitions/employeeInfoRequestBody'
|
|
|
isReceiver:
|
|
|
type: boolean
|
|
|
description: 是否领取人
|
|
|
required:
|
|
|
- isReceiver
|
|
|
percentage:
|
|
|
type: integer
|
|
|
description: 解决占比
|
|
|
required:
|
|
|
- percentage
|
|
|
score:
|
|
|
type: number
|
|
|
description: 解决评分
|
|
|
required:
|
|
|
- score
|
|
|
description: 解决评分项
|
|
|
solveScoreItemResponseBody:
|
|
|
title: solveScoreItemResponseBody
|
|
|
type: object
|
|
|
properties:
|
|
|
contributor:
|
|
|
$ref: '#/definitions/employeeInfoResponseBody'
|
|
|
isReceiver:
|
|
|
type: boolean
|
|
|
description: 是否领取人
|
|
|
required:
|
|
|
- isReceiver
|
|
|
percentage:
|
|
|
type: integer
|
|
|
description: 解决占比
|
|
|
required:
|
|
|
- percentage
|
|
|
score:
|
|
|
type: number
|
|
|
description: 解决评分
|
|
|
required:
|
|
|
- score
|
|
|
description: 解决评分项
|
|
|
suMoneyTransactionRecordResponseBody:
|
|
|
title: suMoneyTransactionRecordResponseBody
|
|
|
type: object
|
...
|
...
|
@@ -1759,10 +1998,11 @@ definitions: |
|
|
properties:
|
|
|
contributor:
|
|
|
$ref: '#/definitions/employeeInfoRequestBody'
|
|
|
issueScore:
|
|
|
type: number
|
|
|
description: 引用问题的得分
|
|
|
format: double
|
|
|
isReceiver:
|
|
|
type: boolean
|
|
|
description: 是否领取人
|
|
|
required:
|
|
|
- isReceiver
|
|
|
percentage:
|
|
|
type: integer
|
|
|
description: 任务贡献占比
|
...
|
...
|
@@ -1780,10 +2020,11 @@ definitions: |
|
|
properties:
|
|
|
contributor:
|
|
|
$ref: '#/definitions/employeeInfoResponseBody'
|
|
|
issueScore:
|
|
|
type: number
|
|
|
description: 引用问题的得分
|
|
|
format: double
|
|
|
isReceiver:
|
|
|
type: boolean
|
|
|
description: 是否领取人
|
|
|
required:
|
|
|
- isReceiver
|
|
|
percentage:
|
|
|
type: integer
|
|
|
description: 任务贡献占比
|
...
|
...
|
|