...
|
...
|
@@ -18,6 +18,153 @@ |
|
|
"application/xml"
|
|
|
],
|
|
|
"paths": {
|
|
|
"/config/bid-time-matchs": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回竞标时间字典列表(1全部,2已截止,3未截止)",
|
|
|
"description": "返回竞标时间字典列表(1全部,2已截止,3未截止)",
|
|
|
"operationId": "config#listBidTimeMatch",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListBidTimeMatchResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/customer-values": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回客户价值字典列表",
|
|
|
"description": "返回客户价值字典列表",
|
|
|
"operationId": "config#listCustomerValue",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$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": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务引用资源类型字典列表",
|
|
|
"description": "返回任务引用资源类型字典列表",
|
|
|
"operationId": "config#listReferenceResourceType",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListReferenceResourceTypeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-natures": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务性质字典列表",
|
|
|
"description": "返回任务性质字典列表",
|
|
|
"operationId": "config#listTaskNature",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-statuses": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务状态字典列表",
|
|
|
"description": "返回任务状态字典列表",
|
|
|
"operationId": "config#listTaskStatus",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskStatusResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-types": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务类型字典列表",
|
|
|
"description": "返回任务类型字典列表",
|
|
|
"operationId": "config#listTaskType",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskTypeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/employees": {
|
|
|
"get": {
|
|
|
"tags": [
|
...
|
...
|
@@ -28,6 +175,20 @@ |
|
|
"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": "查询偏离量",
|
...
|
...
|
@@ -178,107 +339,20 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks": {
|
|
|
"/off-task-records/{offTaskRecordId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"offTaskRecord"
|
|
|
],
|
|
|
"summary": "返回任务列表",
|
|
|
"description": "返回任务列表",
|
|
|
"operationId": "task#listTask",
|
|
|
"summary": "返回关闭任务记录",
|
|
|
"description": "返回关闭任务记录",
|
|
|
"operationId": "offTaskRecord#getOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "companyId",
|
|
|
"in": "query",
|
|
|
"description": "公司ID",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "sponsor",
|
|
|
"in": "query",
|
|
|
"description": "任务发起者",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskContentMatch",
|
|
|
"in": "query",
|
|
|
"description": "任务内容匹配",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskType",
|
|
|
"in": "query",
|
|
|
"description": "任务类型",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskStatus",
|
|
|
"in": "query",
|
|
|
"description": "任务状态",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "customerValue",
|
|
|
"in": "query",
|
|
|
"description": "客户价值",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskNature",
|
|
|
"in": "query",
|
|
|
"description": "任务性质",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "isRewardTake",
|
|
|
"in": "query",
|
|
|
"description": "是否悬赏任务",
|
|
|
"required": false,
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
{
|
|
|
"name": "bidTimeMatch",
|
|
|
"in": "query",
|
|
|
"description": "竞标时间(1全部,2已截止,3未截止)",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "receiver",
|
|
|
"in": "query",
|
|
|
"description": "任务领取人",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "participator",
|
|
|
"in": "query",
|
|
|
"description": "任务参与者",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "offset",
|
|
|
"in": "query",
|
|
|
"description": "查询偏离量",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "limit",
|
|
|
"in": "query",
|
|
|
"description": "查询限制",
|
|
|
"required": false,
|
|
|
"name": "offTaskRecordId",
|
|
|
"in": "path",
|
|
|
"description": "关闭任务记录ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -286,28 +360,30 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskListTaskResponseBody"
|
|
|
"$ref": "#/definitions/OffTaskRecordGetOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
}
|
|
|
},
|
|
|
"/off-task-records/search-off-task-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"offTaskRecord"
|
|
|
],
|
|
|
"summary": "创建新任务",
|
|
|
"description": "创建新任务",
|
|
|
"operationId": "task#createTask",
|
|
|
"summary": "搜索关闭任务记录",
|
|
|
"description": "搜索关闭任务记录",
|
|
|
"operationId": "offTaskRecord#searchOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateTaskRequestBody",
|
|
|
"name": "SearchOffTaskRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskCreateTaskRequestBody"
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -315,7 +391,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskCreateTaskResponseBody"
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -324,56 +400,52 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}": {
|
|
|
"get": {
|
|
|
"/statistics/person-su-money": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "返回任务",
|
|
|
"description": "返回任务",
|
|
|
"operationId": "task#getTask",
|
|
|
"summary": "获取个人素币统计",
|
|
|
"description": "获取个人素币统计",
|
|
|
"operationId": "statistics#personSuMoneyStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"name": "PersonSuMoneyStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsPersonSuMoneyStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskGetTaskResponseBody"
|
|
|
"$ref": "#/definitions/StatisticsPersonSuMoneyStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
}
|
|
|
},
|
|
|
"/statistics/person-task": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "更新任务",
|
|
|
"description": "更新任务",
|
|
|
"operationId": "task#updateTask",
|
|
|
"summary": "获取个人任务统计",
|
|
|
"description": "获取个人任务统计",
|
|
|
"operationId": "statistics#personTaskStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "UpdateTaskRequestBody",
|
|
|
"name": "PersonTaskStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskUpdateTaskRequestBody"
|
|
|
"$ref": "#/definitions/StatisticsPersonTaskStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -381,35 +453,38 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskUpdateTaskResponseBody"
|
|
|
"$ref": "#/definitions/StatisticsPersonTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
}
|
|
|
},
|
|
|
"/statistics/system-task": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "移除任务",
|
|
|
"description": "移除任务",
|
|
|
"operationId": "task#removeTask",
|
|
|
"summary": "获取系统任务统计",
|
|
|
"description": "获取系统任务统计",
|
|
|
"operationId": "statistics#systemTaskStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"name": "SystemTaskStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsSystemTaskStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRemoveTaskResponseBody"
|
|
|
"$ref": "#/definitions/StatisticsSystemTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -418,28 +493,21 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/acceptance": {
|
|
|
"/su-money/exchange": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"suMoney"
|
|
|
],
|
|
|
"summary": "验收任务",
|
|
|
"description": "验收任务",
|
|
|
"operationId": "task#acceptanceTask",
|
|
|
"summary": "素币兑换",
|
|
|
"description": "素币兑换",
|
|
|
"operationId": "suMoney#exchangeSuMoney",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "AcceptanceTaskRequestBody",
|
|
|
"name": "ExchangeSuMoneyRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskAcceptanceTaskRequestBody"
|
|
|
"$ref": "#/definitions/SuMoneyExchangeSuMoneyRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -447,7 +515,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskAcceptanceTaskResponseBody"
|
|
|
"$ref": "#/definitions/SuMoneyExchangeSuMoneyResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -456,28 +524,21 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/apply-complete": {
|
|
|
"/su-money/search-su-money-transaction-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"suMoney"
|
|
|
],
|
|
|
"summary": "申请完成任务",
|
|
|
"description": "申请完成任务",
|
|
|
"operationId": "task#applyCompleteTask",
|
|
|
"summary": "搜索素币事务记录",
|
|
|
"description": "搜索素币事务记录",
|
|
|
"operationId": "suMoney#searchSuMoneyTransactionRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ApplyCompleteTaskRequestBody",
|
|
|
"name": "SearchSuMoneyTransactionRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskApplyCompleteTaskRequestBody"
|
|
|
"$ref": "#/definitions/SuMoneySearchSuMoneyTransactionRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -485,7 +546,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskApplyCompleteTaskResponseBody"
|
|
|
"$ref": "#/definitions/SuMoneySearchSuMoneyTransactionRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -494,28 +555,21 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/bid": {
|
|
|
"/su-money/su-money-transaction-record-statistics": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"suMoney"
|
|
|
],
|
|
|
"summary": "对任务进行竞标",
|
|
|
"description": "对任务进行竞标",
|
|
|
"operationId": "task#bidTask",
|
|
|
"summary": "素币事务记录统计",
|
|
|
"description": "素币事务记录统计",
|
|
|
"operationId": "suMoney#suMoneyTransactionRecordStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "BidTaskRequestBody",
|
|
|
"name": "SuMoneyTransactionRecordStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskBidTaskRequestBody"
|
|
|
"$ref": "#/definitions/SuMoneySuMoneyTransactionRecordStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -523,7 +577,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskBidTaskResponseBody"
|
|
|
"$ref": "#/definitions/SuMoneySuMoneyTransactionRecordStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -532,28 +586,170 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/choose-successful-bidder": {
|
|
|
"post": {
|
|
|
"/su-money/su-money-transaction-records/{suMoneyTransactionRecordId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
"suMoney"
|
|
|
],
|
|
|
"summary": "选择竞标任务的中标人",
|
|
|
"description": "选择竞标任务的中标人",
|
|
|
"operationId": "task#chooseSuccessfulBidder",
|
|
|
"summary": "返回素币事务记录",
|
|
|
"description": "返回素币事务记录",
|
|
|
"operationId": "suMoney#getSuMoneyTransactionRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"name": "suMoneyTransactionRecordId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"description": "素币事务记录ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SuMoneyGetSuMoneyTransactionRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "返回任务列表",
|
|
|
"description": "返回任务列表",
|
|
|
"operationId": "task#listTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "companyId",
|
|
|
"in": "query",
|
|
|
"description": "公司ID",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ChooseSuccessfulBidderRequestBody",
|
|
|
"name": "sponsor",
|
|
|
"in": "query",
|
|
|
"description": "任务发起者UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskContentMatch",
|
|
|
"in": "query",
|
|
|
"description": "任务内容匹配",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskType",
|
|
|
"in": "query",
|
|
|
"description": "任务类型",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskStatus",
|
|
|
"in": "query",
|
|
|
"description": "任务状态",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "customerValue",
|
|
|
"in": "query",
|
|
|
"description": "客户价值",
|
|
|
"required": false,
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"collectionFormat": "multi"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskNature",
|
|
|
"in": "query",
|
|
|
"description": "任务性质",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "isRewardTake",
|
|
|
"in": "query",
|
|
|
"description": "是否悬赏任务",
|
|
|
"required": false,
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
{
|
|
|
"name": "bidTimeMatch",
|
|
|
"in": "query",
|
|
|
"description": "竞标时间(1全部,2已截止,3未截止)",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "receiver",
|
|
|
"in": "query",
|
|
|
"description": "任务领取人UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "participator",
|
|
|
"in": "query",
|
|
|
"description": "任务参与者UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "offset",
|
|
|
"in": "query",
|
|
|
"description": "查询偏离量",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "limit",
|
|
|
"in": "query",
|
|
|
"description": "查询限制",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskListTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "创建新任务",
|
|
|
"description": "创建新任务",
|
|
|
"operationId": "task#createTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskChooseSuccessfulBidderRequestBody"
|
|
|
"$ref": "#/definitions/TaskCreateTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -561,7 +757,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskChooseSuccessfulBidderResponseBody"
|
|
|
"$ref": "#/definitions/TaskCreateTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -570,14 +766,14 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/dff": {
|
|
|
"post": {
|
|
|
"/tasks/{taskId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "关闭任务",
|
|
|
"description": "关闭任务",
|
|
|
"operationId": "task#offTask",
|
|
|
"summary": "返回任务",
|
|
|
"description": "返回任务",
|
|
|
"operationId": "task#getTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
...
|
...
|
@@ -585,37 +781,27 @@ |
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "OffTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskOffTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskOffTaskResponseBody"
|
|
|
"$ref": "#/definitions/TaskGetTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/release": {
|
|
|
"post": {
|
|
|
},
|
|
|
"put": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "发布任务",
|
|
|
"description": "发布任务",
|
|
|
"operationId": "task#releaseTask",
|
|
|
"summary": "更新任务",
|
|
|
"description": "更新任务",
|
|
|
"operationId": "task#updateTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
...
|
...
|
@@ -625,11 +811,11 @@ |
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ReleaseTaskRequestBody",
|
|
|
"name": "UpdateTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskReleaseTaskRequestBody"
|
|
|
"$ref": "#/definitions/TaskUpdateTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -637,171 +823,858 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskReleaseTaskResponseBody"
|
|
|
"$ref": "#/definitions/TaskUpdateTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "移除任务",
|
|
|
"description": "移除任务",
|
|
|
"operationId": "task#removeTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRemoveTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/acceptance": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "验收任务",
|
|
|
"description": "验收任务",
|
|
|
"operationId": "task#acceptanceTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "AcceptanceTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskAcceptanceTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskAcceptanceTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/apply-complete": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "申请完成任务",
|
|
|
"description": "申请完成任务",
|
|
|
"operationId": "task#applyCompleteTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ApplyCompleteTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskApplyCompleteTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskApplyCompleteTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/bid": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "对任务进行竞标",
|
|
|
"description": "对任务进行竞标",
|
|
|
"operationId": "task#bidTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "BidTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskBidTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskBidTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/choose-successful-bidder": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "选择竞标任务的中标人",
|
|
|
"description": "选择竞标任务的中标人",
|
|
|
"operationId": "task#chooseSuccessfulBidder",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ChooseSuccessfulBidderRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskChooseSuccessfulBidderRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskChooseSuccessfulBidderResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/dff": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "关闭任务",
|
|
|
"description": "关闭任务",
|
|
|
"operationId": "task#offTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "OffTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskOffTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskOffTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/release": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "发布任务",
|
|
|
"description": "发布任务",
|
|
|
"operationId": "task#releaseTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "ReleaseTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskReleaseTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskReleaseTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/rob": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "对任务进行抢单",
|
|
|
"description": "对任务进行抢单",
|
|
|
"operationId": "task#robTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "RobTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRobTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRobTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/search": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "搜索任务",
|
|
|
"description": "搜索任务",
|
|
|
"operationId": "task#searchTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/search-off-task-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "搜索关闭任务记录",
|
|
|
"description": "搜索关闭任务记录",
|
|
|
"operationId": "task#searchOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchOffTaskRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchOffTaskRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"definitions": {
|
|
|
"ConfigListBidTimeMatchResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListBidTimeMatchResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"bidTimeMatchs": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValues": {
|
|
|
"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",
|
|
|
"properties": {
|
|
|
"referenceResourceTypes": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskNatures": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskStatusResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskStatusResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskStatuses": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskTypeResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskTypeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskTypes": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeCreateEmployeeRequestBody": {
|
|
|
"title": "EmployeeCreateEmployeeRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employeeAccount": {
|
|
|
"type": "string",
|
|
|
"description": "员工账号"
|
|
|
},
|
|
|
"employeeAvatarUrl": {
|
|
|
"type": "string",
|
|
|
"description": "员工头像URL"
|
|
|
},
|
|
|
"employeeName": {
|
|
|
"type": "string",
|
|
|
"description": "员工姓名"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeCreateEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeCreateEmployeeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeGetEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeGetEmployeeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeListEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeListEmployeeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"employees": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeRemoveEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeRemoveEmployeeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeUpdateEmployeeRequestBody": {
|
|
|
"title": "EmployeeUpdateEmployeeRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"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",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"OffTaskRecordGetOffTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"offTaskRecord": {
|
|
|
"$ref": "#/definitions/offTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"OffTaskRecordSearchOffTaskRecordRequestBody": {
|
|
|
"title": "OffTaskRecordSearchOffTaskRecordRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"limit": {
|
|
|
"type": "integer",
|
|
|
"description": "查询限制",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offset": {
|
|
|
"type": "integer",
|
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"taskContentMatch": {
|
|
|
"type": "string",
|
|
|
"description": "任务内容匹配"
|
|
|
},
|
|
|
"taskNature": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"OffTaskRecordSearchOffTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: OffTaskRecordSearchOffTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offTaskRecords": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/offTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsPersonSuMoneyStatisticsRequestBody": {
|
|
|
"title": "StatisticsPersonSuMoneyStatisticsRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsPersonSuMoneyStatisticsResponseBody": {
|
|
|
"title": "Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"personSuMoneyStatistics": {
|
|
|
"$ref": "#/definitions/personSuMoneyStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsPersonTaskStatisticsRequestBody": {
|
|
|
"title": "StatisticsPersonTaskStatisticsRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsPersonTaskStatisticsResponseBody": {
|
|
|
"title": "Mediatype identifier: StatisticsPersonTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"personTaskStatistics": {
|
|
|
"$ref": "#/definitions/personTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsSystemTaskStatisticsRequestBody": {
|
|
|
"title": "StatisticsSystemTaskStatisticsRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"/tasks/{taskId}/rob": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "对任务进行抢单",
|
|
|
"description": "对任务进行抢单",
|
|
|
"operationId": "task#robTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskId",
|
|
|
"in": "path",
|
|
|
"description": "任务ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "RobTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRobTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskRobTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
"StatisticsSystemTaskStatisticsResponseBody": {
|
|
|
"title": "Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"systemTaskStatistics": {
|
|
|
"$ref": "#/definitions/systemTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"/tasks/search": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "搜索任务",
|
|
|
"description": "搜索任务",
|
|
|
"operationId": "task#searchTask",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchTaskRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchTaskRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchTaskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"definitions": {
|
|
|
"EmployeeCreateEmployeeRequestBody": {
|
|
|
"title": "EmployeeCreateEmployeeRequestBody",
|
|
|
"SuMoneyExchangeSuMoneyRequestBody": {
|
|
|
"title": "SuMoneyExchangeSuMoneyRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employeeAccount": {
|
|
|
"exchangeDescription": {
|
|
|
"type": "string",
|
|
|
"description": "员工账号"
|
|
|
"description": "兑换描述",
|
|
|
"required": [
|
|
|
"exchangeDescription"
|
|
|
]
|
|
|
},
|
|
|
"employeeName": {
|
|
|
"type": "string",
|
|
|
"description": "员工姓名"
|
|
|
"operator": {
|
|
|
"type": "integer",
|
|
|
"description": "操作人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "素币值",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"description": "兑换人UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeCreateEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeCreateEmployeeResponseBody",
|
|
|
"SuMoneyExchangeSuMoneyResponseBody": {
|
|
|
"title": "Mediatype identifier: SuMoneyExchangeSuMoneyResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
"suMoneyTransactionRecord": {
|
|
|
"$ref": "#/definitions/suMoneyTransactionRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeGetEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeGetEmployeeResponseBody",
|
|
|
"SuMoneyGetSuMoneyTransactionRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: SuMoneyGetSuMoneyTransactionRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
"suMoneyTransactionRecord": {
|
|
|
"$ref": "#/definitions/suMoneyTransactionRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeListEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeListEmployeeResponseBody",
|
|
|
"SuMoneySearchSuMoneyTransactionRecordRequestBody": {
|
|
|
"title": "SuMoneySearchSuMoneyTransactionRecordRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"limit": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"description": "查询限制",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"employees": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
"offset": {
|
|
|
"type": "integer",
|
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"operator": {
|
|
|
"type": "integer",
|
|
|
"description": "操作人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"recordType": {
|
|
|
"type": "integer",
|
|
|
"description": "记录类型(1兑换,2任务奖励)",
|
|
|
"required": [
|
|
|
"recordType"
|
|
|
]
|
|
|
},
|
|
|
"transactionEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "事务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"transactionStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "事务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeRemoveEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeRemoveEmployeeResponseBody",
|
|
|
"SuMoneySearchSuMoneyTransactionRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: SuMoneySearchSuMoneyTransactionRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"suMoneyTransactionRecords": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/suMoneyTransactionRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeUpdateEmployeeRequestBody": {
|
|
|
"title": "EmployeeUpdateEmployeeRequestBody",
|
|
|
"SuMoneySuMoneyTransactionRecordStatisticsRequestBody": {
|
|
|
"title": "SuMoneySuMoneyTransactionRecordStatisticsRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employeeAccount": {
|
|
|
"transactionEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "员工账号"
|
|
|
"description": "事务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"employeeName": {
|
|
|
"transactionStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "员工姓名"
|
|
|
"description": "事务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
|
|
"required": [
|
|
|
"uid"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeUpdateEmployeeResponseBody": {
|
|
|
"title": "Mediatype identifier: EmployeeUpdateEmployeeResponseBody",
|
|
|
"SuMoneySuMoneyTransactionRecordStatisticsResponseBody": {
|
|
|
"title": "Mediatype identifier: SuMoneySuMoneyTransactionRecordStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
"expendSuMoney": {
|
|
|
"type": "number",
|
|
|
"description": "支出素币",
|
|
|
"required": [
|
|
|
"expendSuMoney"
|
|
|
]
|
|
|
},
|
|
|
"incomeSuMoney": {
|
|
|
"type": "number",
|
|
|
"description": "收入素币",
|
|
|
"required": [
|
|
|
"incomeSuMoney"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -824,6 +1697,13 @@ |
|
|
},
|
|
|
"description": "任务参与者UID列表"
|
|
|
},
|
|
|
"referenceResourceScore": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/referenceResourceItemRequestBody"
|
|
|
},
|
|
|
"description": "引用资源解决分"
|
|
|
},
|
|
|
"solvePictureUrls": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -950,6 +1830,13 @@ |
|
|
"description": "竞标开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -1133,6 +2020,76 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchOffTaskRecordRequestBody": {
|
|
|
"title": "TaskSearchOffTaskRecordRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"limit": {
|
|
|
"type": "integer",
|
|
|
"description": "查询限制",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offset": {
|
|
|
"type": "integer",
|
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"taskContentMatch": {
|
|
|
"type": "string",
|
|
|
"description": "任务内容匹配"
|
|
|
},
|
|
|
"taskNature": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchOffTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskSearchOffTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offTaskRecords": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/offTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchTaskRequestBody": {
|
|
|
"title": "TaskSearchTaskRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1142,6 +2099,11 @@ |
|
|
"description": "竞标时间(1全部,2已截止,3未截止)",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"bidder": {
|
|
|
"type": "integer",
|
|
|
"description": "竞标参与者UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
...
|
...
|
@@ -1150,9 +2112,20 @@ |
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "string",
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"isFilterCloseStatus": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否过滤关闭状态任务"
|
|
|
},
|
|
|
"isFilterUnReleasedStatus": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否过滤待发布状态任务"
|
|
|
},
|
|
|
"isRewardTake": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否悬赏任务"
|
...
|
...
|
@@ -1169,17 +2142,17 @@ |
|
|
},
|
|
|
"participator": {
|
|
|
"type": "integer",
|
|
|
"description": "任务参与者",
|
|
|
"description": "任务参与者UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"receiver": {
|
|
|
"type": "integer",
|
|
|
"description": "任务领取人",
|
|
|
"description": "任务领取人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"sponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "任务发起者",
|
|
|
"description": "任务发起者UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"taskContentMatch": {
|
...
|
...
|
@@ -1341,6 +2314,27 @@ |
|
|
},
|
|
|
"description": "竞标人员信息"
|
|
|
},
|
|
|
"configResponseBody": {
|
|
|
"title": "configResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"description": "ID",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
"description": "名称",
|
|
|
"required": [
|
|
|
"name"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "配置字典"
|
|
|
},
|
|
|
"employeeInfoRequestBody": {
|
|
|
"title": "employeeInfoRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1349,6 +2343,10 @@ |
|
|
"type": "string",
|
|
|
"description": "员工账号"
|
|
|
},
|
|
|
"employeeAvatarUrl": {
|
|
|
"type": "string",
|
|
|
"description": "员工头像URL"
|
|
|
},
|
|
|
"employeeName": {
|
|
|
"type": "string",
|
|
|
"description": "员工姓名",
|
...
|
...
|
@@ -1374,6 +2372,10 @@ |
|
|
"type": "string",
|
|
|
"description": "员工账号"
|
|
|
},
|
|
|
"employeeAvatarUrl": {
|
|
|
"type": "string",
|
|
|
"description": "员工头像URL"
|
|
|
},
|
|
|
"employeeName": {
|
|
|
"type": "string",
|
|
|
"description": "员工姓名",
|
...
|
...
|
@@ -1412,6 +2414,17 @@ |
|
|
"employeeInfo": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"permissions": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "员工权限集合",
|
|
|
"required": [
|
|
|
"permissions"
|
|
|
]
|
|
|
},
|
|
|
"status": {
|
|
|
"type": "integer",
|
|
|
"description": "员工状态(启用或者禁用)",
|
...
|
...
|
@@ -1427,10 +2440,161 @@ |
|
|
},
|
|
|
"description": "员工"
|
|
|
},
|
|
|
"offTaskRecordResponseBody": {
|
|
|
"title": "offTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"createTime": {
|
|
|
"type": "string",
|
|
|
"description": "创建时间",
|
|
|
"required": [
|
|
|
"createTime"
|
|
|
]
|
|
|
},
|
|
|
"offReason": {
|
|
|
"type": "string",
|
|
|
"description": "关闭理由",
|
|
|
"required": [
|
|
|
"offReason"
|
|
|
]
|
|
|
},
|
|
|
"offTaskRecordId": {
|
|
|
"type": "integer",
|
|
|
"description": "关闭任务记录ID",
|
|
|
"required": [
|
|
|
"offTaskRecordId"
|
|
|
]
|
|
|
},
|
|
|
"operator": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
},
|
|
|
"description": "关闭任务记录"
|
|
|
},
|
|
|
"personSuMoneyStatisticsResponseBody": {
|
|
|
"title": "personSuMoneyStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"currentSuMoney": {
|
|
|
"type": "number",
|
|
|
"description": "当前素币",
|
|
|
"required": [
|
|
|
"currentSuMoney"
|
|
|
]
|
|
|
},
|
|
|
"incomeSuMoneyOfYesterday": {
|
|
|
"type": "number",
|
|
|
"description": "昨日收益",
|
|
|
"required": [
|
|
|
"incomeSuMoneyOfYesterday"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "个人素币统计"
|
|
|
},
|
|
|
"personTaskStatisticsResponseBody": {
|
|
|
"title": "personTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"bidAsParticipator": {
|
|
|
"type": "integer",
|
|
|
"description": "个人参与的竞标中任务",
|
|
|
"required": [
|
|
|
"bidAsParticipator"
|
|
|
]
|
|
|
},
|
|
|
"completedAsParticipator": {
|
|
|
"type": "integer",
|
|
|
"description": "个人参与的已完成任务",
|
|
|
"required": [
|
|
|
"completedAsParticipator"
|
|
|
]
|
|
|
},
|
|
|
"completedAsReceiver": {
|
|
|
"type": "integer",
|
|
|
"description": "个人领取的已完成任务",
|
|
|
"required": [
|
|
|
"completedAsReceiver"
|
|
|
]
|
|
|
},
|
|
|
"completedAsSponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "个人发起的已完成任务",
|
|
|
"required": [
|
|
|
"completedAsSponsor"
|
|
|
]
|
|
|
},
|
|
|
"unAcceptanceAsReceiver": {
|
|
|
"type": "integer",
|
|
|
"description": "个人领取的待验收任务",
|
|
|
"required": [
|
|
|
"unAcceptanceAsReceiver"
|
|
|
]
|
|
|
},
|
|
|
"unAcceptanceAsSponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "个人发起的待验收任务",
|
|
|
"required": [
|
|
|
"unAcceptanceAsSponsor"
|
|
|
]
|
|
|
},
|
|
|
"unClaimedAsSponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "个人发起的待领取任务",
|
|
|
"required": [
|
|
|
"unClaimedAsSponsor"
|
|
|
]
|
|
|
},
|
|
|
"unReleasedAsSponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "个人发起的待发布任务",
|
|
|
"required": [
|
|
|
"unReleasedAsSponsor"
|
|
|
]
|
|
|
},
|
|
|
"underwayAsReceiver": {
|
|
|
"type": "integer",
|
|
|
"description": "个人领取的进行中任务",
|
|
|
"required": [
|
|
|
"underwayAsReceiver"
|
|
|
]
|
|
|
},
|
|
|
"underwayAsSponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "个人发起的进行中任务",
|
|
|
"required": [
|
|
|
"underwayAsSponsor"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "个人任务统计"
|
|
|
},
|
|
|
"referenceResourceItemRequestBody": {
|
|
|
"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": "编号",
|
...
|
...
|
@@ -1438,6 +2602,13 @@ |
|
|
"serialNumber"
|
|
|
]
|
|
|
},
|
|
|
"solveScore": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/solveScoreItemRequestBody"
|
|
|
},
|
|
|
"description": "解决评分明细"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题",
|
...
|
...
|
@@ -1452,6 +2623,25 @@ |
|
|
"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": "编号",
|
...
|
...
|
@@ -1459,6 +2649,13 @@ |
|
|
"serialNumber"
|
|
|
]
|
|
|
},
|
|
|
"solveScore": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/solveScoreItemResponseBody"
|
|
|
},
|
|
|
"description": "解决评分明细"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题",
|
...
|
...
|
@@ -1534,6 +2731,147 @@ |
|
|
},
|
|
|
"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",
|
|
|
"properties": {
|
|
|
"createTime": {
|
|
|
"type": "string",
|
|
|
"description": "创建时间",
|
|
|
"required": [
|
|
|
"createTime"
|
|
|
]
|
|
|
},
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"operator": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"recordDescription": {
|
|
|
"type": "string",
|
|
|
"description": "素币事务记录描述",
|
|
|
"required": [
|
|
|
"recordDescription"
|
|
|
]
|
|
|
},
|
|
|
"recordType": {
|
|
|
"type": "integer",
|
|
|
"description": "记录类型(1兑换,2任务奖励)",
|
|
|
"required": [
|
|
|
"recordType"
|
|
|
]
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "事务素币值",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
},
|
|
|
"suMoneyBeforeTransaction": {
|
|
|
"type": "number",
|
|
|
"description": "事务处理前素币值",
|
|
|
"required": [
|
|
|
"suMoneyBeforeTransaction"
|
|
|
]
|
|
|
},
|
|
|
"suMoneyTransactionRecordId": {
|
|
|
"type": "integer",
|
|
|
"description": "素币事务记录ID",
|
|
|
"required": [
|
|
|
"suMoneyTransactionRecordId"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "素币事务记录"
|
|
|
},
|
|
|
"systemTaskStatisticsResponseBody": {
|
|
|
"title": "systemTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"completed": {
|
|
|
"type": "integer",
|
|
|
"description": "系统已完成任务",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"released": {
|
|
|
"type": "integer",
|
|
|
"description": "系统已发布任务",
|
|
|
"required": [
|
|
|
"released"
|
|
|
]
|
|
|
},
|
|
|
"underway": {
|
|
|
"type": "integer",
|
|
|
"description": "系统进行中任务",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"description": "系统任务统计"
|
|
|
},
|
|
|
"taskPercentageItemRequestBody": {
|
|
|
"title": "taskPercentageItemRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1541,12 +2879,26 @@ |
|
|
"contributor": {
|
|
|
"$ref": "#/definitions/employeeInfoRequestBody"
|
|
|
},
|
|
|
"isReceiver": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否领取人",
|
|
|
"required": [
|
|
|
"isReceiver"
|
|
|
]
|
|
|
},
|
|
|
"percentage": {
|
|
|
"type": "integer",
|
|
|
"description": "任务贡献占比",
|
|
|
"required": [
|
|
|
"percentage"
|
|
|
]
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "分配到的奖励素币",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "任务贡献占比项"
|
...
|
...
|
@@ -1558,12 +2910,26 @@ |
|
|
"contributor": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"isReceiver": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否领取人",
|
|
|
"required": [
|
|
|
"isReceiver"
|
|
|
]
|
|
|
},
|
|
|
"percentage": {
|
|
|
"type": "integer",
|
|
|
"description": "任务贡献占比",
|
|
|
"required": [
|
|
|
"percentage"
|
|
|
]
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "分配到的奖励素币",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "任务贡献占比项"
|
...
|
...
|
|