...
|
...
|
@@ -304,6 +304,160 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/off-task-records/{offTaskRecordId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"offTaskRecord"
|
|
|
],
|
|
|
"summary": "返回关闭任务记录",
|
|
|
"description": "返回关闭任务记录",
|
|
|
"operationId": "offTaskRecord#getOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "offTaskRecordId",
|
|
|
"in": "path",
|
|
|
"description": "关闭任务记录ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordGetOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/off-task-records/search-off-task-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"offTaskRecord"
|
|
|
],
|
|
|
"summary": "搜索关闭任务记录",
|
|
|
"description": "搜索关闭任务记录",
|
|
|
"operationId": "offTaskRecord#searchOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchOffTaskRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/statistics/person-su-money": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "获取个人素币统计",
|
|
|
"description": "获取个人素币统计",
|
|
|
"operationId": "statistics#personSuMoneyStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "PersonSuMoneyStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsPersonSuMoneyStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsPersonSuMoneyStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/statistics/person-task": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "获取个人任务统计",
|
|
|
"description": "获取个人任务统计",
|
|
|
"operationId": "statistics#personTaskStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "PersonTaskStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsPersonTaskStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsPersonTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/statistics/system-task": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"statistics"
|
|
|
],
|
|
|
"summary": "获取系统任务统计",
|
|
|
"description": "获取系统任务统计",
|
|
|
"operationId": "statistics#systemTaskStatistics",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SystemTaskStatisticsRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsSystemTaskStatisticsRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/StatisticsSystemTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/su-money/exchange": {
|
|
|
"post": {
|
|
|
"tags": [
|
...
|
...
|
@@ -385,7 +539,7 @@ |
|
|
{
|
|
|
"name": "sponsor",
|
|
|
"in": "query",
|
|
|
"description": "任务发起者",
|
|
|
"description": "任务发起者UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
...
|
...
|
@@ -442,7 +596,7 @@ |
|
|
{
|
|
|
"name": "receiver",
|
|
|
"in": "query",
|
|
|
"description": "任务领取人",
|
|
|
"description": "任务领取人UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
...
|
...
|
@@ -450,7 +604,7 @@ |
|
|
{
|
|
|
"name": "participator",
|
|
|
"in": "query",
|
|
|
"description": "任务参与者",
|
|
|
"description": "任务参与者UID",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
...
|
...
|
@@ -1096,6 +1250,148 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"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": "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"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsSystemTaskStatisticsResponseBody": {
|
|
|
"title": "Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"systemTaskStatistics": {
|
|
|
"$ref": "#/definitions/systemTaskStatisticsResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"SuMoneyExchangeSuMoneyRequestBody": {
|
|
|
"title": "SuMoneyExchangeSuMoneyRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1109,7 +1405,7 @@ |
|
|
},
|
|
|
"operator": {
|
|
|
"type": "integer",
|
|
|
"description": "操作人UID(默认为系统操作)",
|
|
|
"description": "操作人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"suMoney": {
|
...
|
...
|
@@ -1151,6 +1447,11 @@ |
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"operator": {
|
|
|
"type": "integer",
|
|
|
"description": "操作人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"recordType": {
|
|
|
"type": "integer",
|
|
|
"description": "记录类型(1兑换,2任务奖励)",
|
...
|
...
|
@@ -1158,6 +1459,16 @@ |
|
|
"recordType"
|
|
|
]
|
|
|
},
|
|
|
"transactionEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "事务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"transactionStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "事务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
...
|
...
|
@@ -1588,6 +1899,11 @@ |
|
|
"description": "竞标时间(1全部,2已截止,3未截止)",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"bidder": {
|
|
|
"type": "integer",
|
|
|
"description": "竞标参与者UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
...
|
...
|
@@ -1599,6 +1915,10 @@ |
|
|
"type": "string",
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"isFilterCloseStatus": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否过滤关闭状态任务"
|
|
|
},
|
|
|
"isRewardTake": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否悬赏任务"
|
...
|
...
|
@@ -1615,17 +1935,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": {
|
...
|
...
|
@@ -1928,6 +2248,104 @@ |
|
|
},
|
|
|
"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",
|
...
|
...
|
@@ -2050,11 +2468,7 @@ |
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"operator": {
|
|
|
"type": "integer",
|
|
|
"description": "操作人",
|
|
|
"required": [
|
|
|
"operator"
|
|
|
]
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"recordDescription": {
|
|
|
"type": "string",
|
...
|
...
|
@@ -2077,6 +2491,13 @@ |
|
|
"suMoney"
|
|
|
]
|
|
|
},
|
|
|
"suMoneyBeforeTransaction": {
|
|
|
"type": "number",
|
|
|
"description": "事务处理前素币值",
|
|
|
"required": [
|
|
|
"suMoneyBeforeTransaction"
|
|
|
]
|
|
|
},
|
|
|
"suMoneyTransactionRecordId": {
|
|
|
"type": "integer",
|
|
|
"description": "素币事务记录ID",
|
...
|
...
|
@@ -2087,6 +2508,30 @@ |
|
|
},
|
|
|
"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",
|
...
|
...
|
@@ -2094,12 +2539,24 @@ |
|
|
"contributor": {
|
|
|
"$ref": "#/definitions/employeeInfoRequestBody"
|
|
|
},
|
|
|
"issueScore": {
|
|
|
"type": "number",
|
|
|
"description": "引用问题的得分",
|
|
|
"format": "double"
|
|
|
},
|
|
|
"percentage": {
|
|
|
"type": "integer",
|
|
|
"description": "任务贡献占比",
|
|
|
"required": [
|
|
|
"percentage"
|
|
|
]
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "分配到的奖励素币",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "任务贡献占比项"
|
...
|
...
|
@@ -2111,12 +2568,24 @@ |
|
|
"contributor": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"issueScore": {
|
|
|
"type": "number",
|
|
|
"description": "引用问题的得分",
|
|
|
"format": "double"
|
|
|
},
|
|
|
"percentage": {
|
|
|
"type": "integer",
|
|
|
"description": "任务贡献占比",
|
|
|
"required": [
|
|
|
"percentage"
|
|
|
]
|
|
|
},
|
|
|
"suMoney": {
|
|
|
"type": "number",
|
|
|
"description": "分配到的奖励素币",
|
|
|
"required": [
|
|
|
"suMoney"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "任务贡献占比项"
|
...
|
...
|
|