...
|
...
|
@@ -18,6 +18,37 @@ |
|
|
"application/xml"
|
|
|
],
|
|
|
"paths": {
|
|
|
"/api/business/index": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"unifiedUserCenter"
|
|
|
],
|
|
|
"summary": "同步企业员工回调",
|
|
|
"description": "同步企业员工回调",
|
|
|
"operationId": "unifiedUserCenter#syncEmployeeCallback",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SyncEmployeeCallbackRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/UnifiedUserCenterSyncEmployeeCallbackRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/UnifiedUserCenterSyncEmployeeCallbackResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/bid-time-matchs": {
|
|
|
"get": {
|
|
|
"tags": [
|
...
|
...
|
@@ -165,6 +196,187 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/customer-values": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"customerValue"
|
|
|
],
|
|
|
"summary": "返回客户价值列表",
|
|
|
"description": "返回客户价值列表",
|
|
|
"operationId": "customerValue#listCustomerValue",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "companyId",
|
|
|
"in": "query",
|
|
|
"description": "公司ID",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "customerValueName",
|
|
|
"in": "query",
|
|
|
"description": "客户价值名称",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "customerValueNameMatch",
|
|
|
"in": "query",
|
|
|
"description": "客户价值名称匹配",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"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/CustomerValueListCustomerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"customerValue"
|
|
|
],
|
|
|
"summary": "创建客户价值",
|
|
|
"description": "创建客户价值",
|
|
|
"operationId": "customerValue#createCustomerValue",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateCustomerValueRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueCreateCustomerValueRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueCreateCustomerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/customer-values/{customerValueId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"customerValue"
|
|
|
],
|
|
|
"summary": "返回客户价值",
|
|
|
"description": "返回客户价值",
|
|
|
"operationId": "customerValue#getCustomerValue",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "customerValueId",
|
|
|
"in": "path",
|
|
|
"description": "客户价值ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueGetCustomerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"tags": [
|
|
|
"customerValue"
|
|
|
],
|
|
|
"summary": "更新客户价值",
|
|
|
"description": "更新客户价值",
|
|
|
"operationId": "customerValue#updateCustomerValue",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "customerValueId",
|
|
|
"in": "path",
|
|
|
"description": "客户价值ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "UpdateCustomerValueRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueUpdateCustomerValueRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueUpdateCustomerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"tags": [
|
|
|
"customerValue"
|
|
|
],
|
|
|
"summary": "移除客户价值",
|
|
|
"description": "移除客户价值",
|
|
|
"operationId": "customerValue#removeCustomerValue",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "customerValueId",
|
|
|
"in": "path",
|
|
|
"description": "客户价值ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CustomerValueRemoveCustomerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/employees": {
|
|
|
"get": {
|
|
|
"tags": [
|
...
|
...
|
@@ -224,11 +436,366 @@ |
|
|
"operationId": "employee#createEmployee",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateEmployeeRequestBody",
|
|
|
"name": "CreateEmployeeRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeCreateEmployeeRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeCreateEmployeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/employees/{uid}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
],
|
|
|
"summary": "返回员工",
|
|
|
"description": "返回员工",
|
|
|
"operationId": "employee#getEmployee",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeGetEmployeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
],
|
|
|
"summary": "更新员工",
|
|
|
"description": "更新员工",
|
|
|
"operationId": "employee#updateEmployee",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "UpdateEmployeeRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeUpdateEmployeeRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeUpdateEmployeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
],
|
|
|
"summary": "移除员工",
|
|
|
"description": "移除员工",
|
|
|
"operationId": "employee#removeEmployee",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeRemoveEmployeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/notifications": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"notification"
|
|
|
],
|
|
|
"summary": "返回发送出的通知列表",
|
|
|
"description": "返回发送出的通知列表",
|
|
|
"operationId": "notification#listSentNotification",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "receiverId",
|
|
|
"in": "query",
|
|
|
"description": "通知接收者Uid",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "notificationType",
|
|
|
"in": "query",
|
|
|
"description": "通知类型",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"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/NotificationListSentNotificationResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/notifications/read": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"notification"
|
|
|
],
|
|
|
"summary": "读取发送出的通知",
|
|
|
"description": "读取发送出的通知",
|
|
|
"operationId": "notification#readSentNotification",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "ReadSentNotificationRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/NotificationReadSentNotificationRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/NotificationReadSentNotificationResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/notifications/read-all": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"notification"
|
|
|
],
|
|
|
"summary": "读取全部为读取的发送出的通知",
|
|
|
"description": "读取全部为读取的发送出的通知",
|
|
|
"operationId": "notification#readAllUnReadSentNotification",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "ReadAllUnReadSentNotificationRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/NotificationReadAllUnReadSentNotificationRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/NotificationReadAllUnReadSentNotificationResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/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"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/project-belongs": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"projectBelong"
|
|
|
],
|
|
|
"summary": "返回项目归属列表",
|
|
|
"description": "返回项目归属列表",
|
|
|
"operationId": "projectBelong#listProjectBelong",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "companyId",
|
|
|
"in": "query",
|
|
|
"description": "公司ID",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "projectBelongName",
|
|
|
"in": "query",
|
|
|
"description": "项目归属名称",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "projectBelongNameMatch",
|
|
|
"in": "query",
|
|
|
"description": "项目归属名称匹配",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"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/ProjectBelongListProjectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"projectBelong"
|
|
|
],
|
|
|
"summary": "创建项目归属",
|
|
|
"description": "创建项目归属",
|
|
|
"operationId": "projectBelong#createProjectBelong",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateProjectBelongRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeCreateEmployeeRequestBody"
|
|
|
"$ref": "#/definitions/ProjectBelongCreateProjectBelongRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -236,7 +803,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeCreateEmployeeResponseBody"
|
|
|
"$ref": "#/definitions/ProjectBelongCreateProjectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -245,19 +812,19 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/employees/{uid}": {
|
|
|
"/project-belongs/{projectBelongId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
"projectBelong"
|
|
|
],
|
|
|
"summary": "返回员工",
|
|
|
"description": "返回员工",
|
|
|
"operationId": "employee#getEmployee",
|
|
|
"summary": "返回项目归属",
|
|
|
"description": "返回项目归属",
|
|
|
"operationId": "projectBelong#getProjectBelong",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"name": "projectBelongId",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"description": "项目归属ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
...
|
...
|
@@ -266,7 +833,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeGetEmployeeResponseBody"
|
|
|
"$ref": "#/definitions/ProjectBelongGetProjectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -276,25 +843,25 @@ |
|
|
},
|
|
|
"put": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
"projectBelong"
|
|
|
],
|
|
|
"summary": "更新员工",
|
|
|
"description": "更新员工",
|
|
|
"operationId": "employee#updateEmployee",
|
|
|
"summary": "更新项目归属",
|
|
|
"description": "更新项目归属",
|
|
|
"operationId": "projectBelong#updateProjectBelong",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"name": "projectBelongId",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"description": "项目归属ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "UpdateEmployeeRequestBody",
|
|
|
"name": "UpdateProjectBelongRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeUpdateEmployeeRequestBody"
|
|
|
"$ref": "#/definitions/ProjectBelongUpdateProjectBelongRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -302,7 +869,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeUpdateEmployeeResponseBody"
|
|
|
"$ref": "#/definitions/ProjectBelongUpdateProjectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -312,16 +879,16 @@ |
|
|
},
|
|
|
"delete": {
|
|
|
"tags": [
|
|
|
"employee"
|
|
|
"projectBelong"
|
|
|
],
|
|
|
"summary": "移除员工",
|
|
|
"description": "移除员工",
|
|
|
"operationId": "employee#removeEmployee",
|
|
|
"summary": "移除项目归属",
|
|
|
"description": "移除项目归属",
|
|
|
"operationId": "projectBelong#removeProjectBelong",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "uid",
|
|
|
"name": "projectBelongId",
|
|
|
"in": "path",
|
|
|
"description": "统一用户UID",
|
|
|
"description": "项目归属ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
...
|
...
|
@@ -330,7 +897,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/EmployeeRemoveEmployeeResponseBody"
|
|
|
"$ref": "#/definitions/ProjectBelongRemoveProjectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -339,17 +906,17 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/off-task-records/{offTaskRecordId}": {
|
|
|
"/reject-task-records/{rejectTaskRecordId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"offTaskRecord"
|
|
|
"rejectTaskRecord"
|
|
|
],
|
|
|
"summary": "返回关闭任务记录",
|
|
|
"description": "返回关闭任务记录",
|
|
|
"operationId": "offTaskRecord#getOffTaskRecord",
|
|
|
"operationId": "rejectTaskRecord#getRejectTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "offTaskRecordId",
|
|
|
"name": "rejectTaskRecordId",
|
|
|
"in": "path",
|
|
|
"description": "关闭任务记录ID",
|
|
|
"required": true,
|
...
|
...
|
@@ -360,7 +927,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordGetOffTaskRecordResponseBody"
|
|
|
"$ref": "#/definitions/RejectTaskRecordGetRejectTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -369,21 +936,21 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/off-task-records/search-off-task-record": {
|
|
|
"/reject-task-records/search-reject-task-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"offTaskRecord"
|
|
|
"rejectTaskRecord"
|
|
|
],
|
|
|
"summary": "搜索关闭任务记录",
|
|
|
"description": "搜索关闭任务记录",
|
|
|
"operationId": "offTaskRecord#searchOffTaskRecord",
|
|
|
"summary": "搜索驳回任务记录",
|
|
|
"description": "搜索驳回任务记录",
|
|
|
"operationId": "rejectTaskRecord#searchRejectTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchOffTaskRecordRequestBody",
|
|
|
"name": "SearchRejectTaskRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordRequestBody"
|
|
|
"$ref": "#/definitions/RejectTaskRecordSearchRejectTaskRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -391,7 +958,7 @@ |
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody"
|
|
|
"$ref": "#/definitions/RejectTaskRecordSearchRejectTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -616,6 +1183,187 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/task-natures": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"taskNature"
|
|
|
],
|
|
|
"summary": "返回任务性质列表",
|
|
|
"description": "返回任务性质列表",
|
|
|
"operationId": "taskNature#listTaskNature",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "companyId",
|
|
|
"in": "query",
|
|
|
"description": "公司ID",
|
|
|
"required": false,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskNatureName",
|
|
|
"in": "query",
|
|
|
"description": "任务性质名称",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "taskNatureNameMatch",
|
|
|
"in": "query",
|
|
|
"description": "任务性质名称匹配",
|
|
|
"required": false,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"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/TaskNatureListTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"taskNature"
|
|
|
],
|
|
|
"summary": "创建任务性质",
|
|
|
"description": "创建任务性质",
|
|
|
"operationId": "taskNature#createTaskNature",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "CreateTaskNatureRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureCreateTaskNatureRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureCreateTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/task-natures/{taskNatureId}": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"taskNature"
|
|
|
],
|
|
|
"summary": "返回任务性质",
|
|
|
"description": "返回任务性质",
|
|
|
"operationId": "taskNature#getTaskNature",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskNatureId",
|
|
|
"in": "path",
|
|
|
"description": "任务性质ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureGetTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"tags": [
|
|
|
"taskNature"
|
|
|
],
|
|
|
"summary": "更新任务性质",
|
|
|
"description": "更新任务性质",
|
|
|
"operationId": "taskNature#updateTaskNature",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskNatureId",
|
|
|
"in": "path",
|
|
|
"description": "任务性质ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
},
|
|
|
{
|
|
|
"name": "UpdateTaskNatureRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureUpdateTaskNatureRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureUpdateTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"tags": [
|
|
|
"taskNature"
|
|
|
],
|
|
|
"summary": "移除任务性质",
|
|
|
"description": "移除任务性质",
|
|
|
"operationId": "taskNature#removeTaskNature",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "taskNatureId",
|
|
|
"in": "path",
|
|
|
"description": "任务性质ID",
|
|
|
"required": true,
|
|
|
"type": "integer"
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskNatureRemoveTaskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks": {
|
|
|
"get": {
|
|
|
"tags": [
|
...
|
...
|
@@ -1254,23 +2002,106 @@ |
|
|
"title": "Mediatype identifier: ConfigListTaskStatusResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskStatuses": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
"taskStatuses": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskTypeResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskTypeResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskTypes": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueCreateCustomerValueRequestBody": {
|
|
|
"title": "CustomerValueCreateCustomerValueRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValueName": {
|
|
|
"type": "string",
|
|
|
"description": "客户价值名称",
|
|
|
"required": [
|
|
|
"customerValueName"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueCreateCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: CustomerValueCreateCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValue": {
|
|
|
"$ref": "#/definitions/customerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueGetCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: CustomerValueGetCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValue": {
|
|
|
"$ref": "#/definitions/customerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueListCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: CustomerValueListCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"customerValues": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/customerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueRemoveCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: CustomerValueRemoveCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValue": {
|
|
|
"$ref": "#/definitions/customerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"CustomerValueUpdateCustomerValueRequestBody": {
|
|
|
"title": "CustomerValueUpdateCustomerValueRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValueName": {
|
|
|
"type": "string",
|
|
|
"description": "客户价值名称"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskTypeResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskTypeResponseBody",
|
|
|
"CustomerValueUpdateCustomerValueResponseBody": {
|
|
|
"title": "Mediatype identifier: CustomerValueUpdateCustomerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskTypes": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
"customerValue": {
|
|
|
"$ref": "#/definitions/customerValueResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1378,6 +2209,69 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"NotificationListSentNotificationResponseBody": {
|
|
|
"title": "Mediatype identifier: NotificationListSentNotificationResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"sentNotifications": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/sentNotificationResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"NotificationReadAllUnReadSentNotificationRequestBody": {
|
|
|
"title": "NotificationReadAllUnReadSentNotificationRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"receiverId": {
|
|
|
"type": "integer",
|
|
|
"description": "通知接收者Uid",
|
|
|
"required": [
|
|
|
"receiverId"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"NotificationReadAllUnReadSentNotificationResponseBody": {
|
|
|
"title": "Mediatype identifier: NotificationReadAllUnReadSentNotificationResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"readCount": {
|
|
|
"type": "integer",
|
|
|
"description": "读取消息数",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"NotificationReadSentNotificationRequestBody": {
|
|
|
"title": "NotificationReadSentNotificationRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"sentNotificationId": {
|
|
|
"type": "integer",
|
|
|
"description": "发送出的通知ID",
|
|
|
"required": [
|
|
|
"sentNotificationId"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"NotificationReadSentNotificationResponseBody": {
|
|
|
"title": "Mediatype identifier: NotificationReadSentNotificationResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"sentNotification": {
|
|
|
"$ref": "#/definitions/sentNotificationResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"OffTaskRecordGetOffTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1457,6 +2351,170 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongCreateProjectBelongRequestBody": {
|
|
|
"title": "ProjectBelongCreateProjectBelongRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"projectBelongName": {
|
|
|
"type": "string",
|
|
|
"description": "项目归属名称",
|
|
|
"required": [
|
|
|
"projectBelongName"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongCreateProjectBelongResponseBody": {
|
|
|
"title": "Mediatype identifier: ProjectBelongCreateProjectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"projectBelong": {
|
|
|
"$ref": "#/definitions/projectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongGetProjectBelongResponseBody": {
|
|
|
"title": "Mediatype identifier: ProjectBelongGetProjectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"projectBelong": {
|
|
|
"$ref": "#/definitions/projectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongListProjectBelongResponseBody": {
|
|
|
"title": "Mediatype identifier: ProjectBelongListProjectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"projectBelongs": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/projectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongRemoveProjectBelongResponseBody": {
|
|
|
"title": "Mediatype identifier: ProjectBelongRemoveProjectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"projectBelong": {
|
|
|
"$ref": "#/definitions/projectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongUpdateProjectBelongRequestBody": {
|
|
|
"title": "ProjectBelongUpdateProjectBelongRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"projectBelongName": {
|
|
|
"type": "string",
|
|
|
"description": "项目归属名称"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ProjectBelongUpdateProjectBelongResponseBody": {
|
|
|
"title": "Mediatype identifier: ProjectBelongUpdateProjectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"projectBelong": {
|
|
|
"$ref": "#/definitions/projectBelongResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"RejectTaskRecordGetRejectTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: RejectTaskRecordGetRejectTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"rejectTaskRecord": {
|
|
|
"$ref": "#/definitions/rejectTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"RejectTaskRecordSearchRejectTaskRecordRequestBody": {
|
|
|
"title": "RejectTaskRecordSearchRejectTaskRecordRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"limit": {
|
|
|
"type": "integer",
|
|
|
"description": "查询限制",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offset": {
|
|
|
"type": "integer",
|
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"rejectEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "驳回任务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"rejectStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "驳回任务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"taskContentMatch": {
|
|
|
"type": "string",
|
|
|
"description": "任务内容匹配"
|
|
|
},
|
|
|
"taskNature": {
|
|
|
"type": "integer",
|
|
|
"description": "任务性质",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"RejectTaskRecordSearchRejectTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: RejectTaskRecordSearchRejectTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"rejectTaskRecords": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/rejectTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"StatisticsPersonSuMoneyStatisticsRequestBody": {
|
|
|
"title": "StatisticsPersonSuMoneyStatisticsRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1474,8 +2532,20 @@ |
|
|
"title": "Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"personSuMoneyStatistics": {
|
|
|
"$ref": "#/definitions/personSuMoneyStatisticsResponseBody"
|
|
|
"currentSuMoney": {
|
|
|
"type": "number",
|
|
|
"description": "当前素币数",
|
|
|
"format": "double"
|
|
|
},
|
|
|
"incomeSuMoney": {
|
|
|
"type": "number",
|
|
|
"description": "任务奖励素币总数",
|
|
|
"format": "double"
|
|
|
},
|
|
|
"incomeSuMoneyOfYesterday": {
|
|
|
"type": "number",
|
|
|
"description": "昨日任务奖励素币数",
|
|
|
"format": "double"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1518,8 +2588,20 @@ |
|
|
"title": "Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"systemTaskStatistics": {
|
|
|
"$ref": "#/definitions/systemTaskStatisticsResponseBody"
|
|
|
"completed": {
|
|
|
"type": "integer",
|
|
|
"description": "已完成的任务数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"released": {
|
|
|
"type": "integer",
|
|
|
"description": "发布的任务数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"underway": {
|
|
|
"type": "integer",
|
|
|
"description": "进行中的任务数",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1594,7 +2676,7 @@ |
|
|
},
|
|
|
"recordType": {
|
|
|
"type": "integer",
|
|
|
"description": "记录类型(1兑换,2任务奖励)",
|
|
|
"description": "记录类型(1兑换,2任务奖励,3增加,4扣除)",
|
|
|
"required": [
|
|
|
"recordType"
|
|
|
]
|
...
|
...
|
@@ -1884,45 +2966,100 @@ |
|
|
"type": "string",
|
|
|
"description": "任务性质",
|
|
|
"required": [
|
|
|
"taskNature"
|
|
|
"taskNature"
|
|
|
]
|
|
|
},
|
|
|
"taskPictureUrls": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "任务图片URL列表"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"required": [
|
|
|
"taskType"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskCreateTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskCreateTaskResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskGetTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskGetTaskResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskListTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskListTaskResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"tasks": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskNatureCreateTaskNatureRequestBody": {
|
|
|
"title": "TaskNatureCreateTaskNatureRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"taskPictureUrls": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "任务图片URL列表"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"taskNatureName": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质名称",
|
|
|
"required": [
|
|
|
"taskType"
|
|
|
"taskNatureName"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskCreateTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskCreateTaskResponseBody",
|
|
|
"TaskNatureCreateTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskNatureCreateTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
"taskNature": {
|
|
|
"$ref": "#/definitions/taskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskGetTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskGetTaskResponseBody",
|
|
|
"TaskNatureGetTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskNatureGetTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
"taskNature": {
|
|
|
"$ref": "#/definitions/taskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskListTaskResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskListTaskResponseBody",
|
|
|
"TaskNatureListTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskNatureListTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
...
|
...
|
@@ -1930,12 +3067,40 @@ |
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"tasks": {
|
|
|
"taskNatures": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
"$ref": "#/definitions/taskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskNatureRemoveTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskNatureRemoveTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskNature": {
|
|
|
"$ref": "#/definitions/taskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskNatureUpdateTaskNatureRequestBody": {
|
|
|
"title": "TaskNatureUpdateTaskNatureRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskNatureName": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质名称"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskNatureUpdateTaskNatureResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskNatureUpdateTaskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskNature": {
|
|
|
"$ref": "#/definitions/taskNatureResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskOffTaskRequestBody": {
|
...
|
...
|
@@ -2150,6 +3315,26 @@ |
|
|
"description": "任务领取人UID",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"sortByAcceptanceTime": {
|
|
|
"type": "string",
|
|
|
"description": "按验收方验收时间排序(ASC,DESC)"
|
|
|
},
|
|
|
"sortByCompleteTime": {
|
|
|
"type": "string",
|
|
|
"description": "按完成任务操作时间排序(ASC,DESC)"
|
|
|
},
|
|
|
"sortByCreateTime": {
|
|
|
"type": "string",
|
|
|
"description": "按创建任务时间排序(ASC,DESC)"
|
|
|
},
|
|
|
"sortByReceiveTime": {
|
|
|
"type": "string",
|
|
|
"description": "按领取任务时间排序(ASC,DESC)"
|
|
|
},
|
|
|
"sortByReleaseTime": {
|
|
|
"type": "string",
|
|
|
"description": "按发布任务时间排序(ASC,DESC)"
|
|
|
},
|
|
|
"sponsor": {
|
|
|
"type": "integer",
|
|
|
"description": "任务发起者UID",
|
...
|
...
|
@@ -2259,6 +3444,42 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"UnifiedUserCenterSyncEmployeeCallbackRequestBody": {
|
|
|
"title": "UnifiedUserCenterSyncEmployeeCallbackRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"action": {
|
|
|
"type": "string",
|
|
|
"description": "add:添加,edit:编辑,delete删除,batchDelete:批量删除,setCompanyCharge:更改公司主管,batchForbid:批量禁用用户,batchRemove:批量更改用户部门,changeAdmin换管理员",
|
|
|
"required": [
|
|
|
"action"
|
|
|
]
|
|
|
},
|
|
|
"data": {
|
|
|
"type": "string",
|
|
|
"description": "具体的对象JSON数据",
|
|
|
"required": [
|
|
|
"data"
|
|
|
]
|
|
|
},
|
|
|
"module": {
|
|
|
"type": "string",
|
|
|
"description": "position:职位,department:部门,employee:员工,company:公司,profile员工档案",
|
|
|
"required": [
|
|
|
"module"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"UnifiedUserCenterSyncEmployeeCallbackResponseBody": {
|
|
|
"title": "Mediatype identifier: UnifiedUserCenterSyncEmployeeCallbackResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"employee": {
|
|
|
"$ref": "#/definitions/employeeResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"bidInfoResponseBody": {
|
|
|
"title": "bidInfoResponseBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2335,6 +3556,34 @@ |
|
|
},
|
|
|
"description": "配置字典"
|
|
|
},
|
|
|
"customerValueResponseBody": {
|
|
|
"title": "customerValueResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValueId": {
|
|
|
"type": "integer",
|
|
|
"description": "客户价值ID",
|
|
|
"required": [
|
|
|
"customerValueId"
|
|
|
]
|
|
|
},
|
|
|
"customerValueName": {
|
|
|
"type": "string",
|
|
|
"description": "客户价值名称",
|
|
|
"required": [
|
|
|
"customerValueName"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"employeeInfoRequestBody": {
|
|
|
"title": "employeeInfoRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2354,6 +3603,10 @@ |
|
|
"employeeName"
|
|
|
]
|
|
|
},
|
|
|
"isPrincipal": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否公司负责人"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
...
|
...
|
@@ -2383,6 +3636,10 @@ |
|
|
"employeeName"
|
|
|
]
|
|
|
},
|
|
|
"isPrincipal": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否公司负责人"
|
|
|
},
|
|
|
"uid": {
|
|
|
"type": "integer",
|
|
|
"description": "统一用户UID",
|
...
|
...
|
@@ -2440,6 +3697,55 @@ |
|
|
},
|
|
|
"description": "员工"
|
|
|
},
|
|
|
"notificationResponseBody": {
|
|
|
"title": "notificationResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"externalResource": {
|
|
|
"type": "string",
|
|
|
"description": "外部资源引用",
|
|
|
"required": [
|
|
|
"externalResource"
|
|
|
]
|
|
|
},
|
|
|
"notificationContent": {
|
|
|
"type": "string",
|
|
|
"description": "通知内容",
|
|
|
"required": [
|
|
|
"notificationContent"
|
|
|
]
|
|
|
},
|
|
|
"notificationId": {
|
|
|
"type": "integer",
|
|
|
"description": "通知ID",
|
|
|
"required": [
|
|
|
"notificationId"
|
|
|
]
|
|
|
},
|
|
|
"notificationTime": {
|
|
|
"type": "string",
|
|
|
"description": "通知时间",
|
|
|
"required": [
|
|
|
"notificationTime"
|
|
|
]
|
|
|
},
|
|
|
"notificationTitle": {
|
|
|
"type": "string",
|
|
|
"description": "通知标题",
|
|
|
"required": [
|
|
|
"notificationTitle"
|
|
|
]
|
|
|
},
|
|
|
"notificationType": {
|
|
|
"type": "integer",
|
|
|
"description": "通知类型",
|
|
|
"required": [
|
|
|
"notificationType"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "通知"
|
|
|
},
|
|
|
"offTaskRecordResponseBody": {
|
|
|
"title": "offTaskRecordResponseBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2474,27 +3780,6 @@ |
|
|
},
|
|
|
"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",
|
...
|
...
|
@@ -2572,6 +3857,34 @@ |
|
|
},
|
|
|
"description": "个人任务统计"
|
|
|
},
|
|
|
"projectBelongResponseBody": {
|
|
|
"title": "projectBelongResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"projectBelongId": {
|
|
|
"type": "integer",
|
|
|
"description": "项目归属ID",
|
|
|
"required": [
|
|
|
"projectBelongId"
|
|
|
]
|
|
|
},
|
|
|
"projectBelongName": {
|
|
|
"type": "string",
|
|
|
"description": "项目归属名称",
|
|
|
"required": [
|
|
|
"projectBelongName"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "项目归属"
|
|
|
},
|
|
|
"referenceResourceItemRequestBody": {
|
|
|
"title": "referenceResourceItemRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2714,6 +4027,40 @@ |
|
|
},
|
|
|
"description": "引用资源"
|
|
|
},
|
|
|
"rejectTaskRecordResponseBody": {
|
|
|
"title": "rejectTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"createTime": {
|
|
|
"type": "string",
|
|
|
"description": "创建时间",
|
|
|
"required": [
|
|
|
"createTime"
|
|
|
]
|
|
|
},
|
|
|
"operator": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"rejectReason": {
|
|
|
"type": "string",
|
|
|
"description": "驳回理由",
|
|
|
"required": [
|
|
|
"rejectReason"
|
|
|
]
|
|
|
},
|
|
|
"rejectTaskRecordId": {
|
|
|
"type": "integer",
|
|
|
"description": "驳回任务记录ID",
|
|
|
"required": [
|
|
|
"rejectTaskRecordId"
|
|
|
]
|
|
|
},
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
},
|
|
|
"description": "驳回任务记录"
|
|
|
},
|
|
|
"robInfoResponseBody": {
|
|
|
"title": "robInfoResponseBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2731,6 +4078,40 @@ |
|
|
},
|
|
|
"description": "抢单任务信息"
|
|
|
},
|
|
|
"sentNotificationResponseBody": {
|
|
|
"title": "sentNotificationResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"isRead": {
|
|
|
"type": "boolean",
|
|
|
"description": "是否已读",
|
|
|
"required": [
|
|
|
"isRead"
|
|
|
]
|
|
|
},
|
|
|
"notification": {
|
|
|
"$ref": "#/definitions/notificationResponseBody"
|
|
|
},
|
|
|
"readTime": {
|
|
|
"type": "string",
|
|
|
"description": "通知读取时间",
|
|
|
"required": [
|
|
|
"readTime"
|
|
|
]
|
|
|
},
|
|
|
"receiver": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"sentNotificationId": {
|
|
|
"type": "integer",
|
|
|
"description": "发送出的通知ID",
|
|
|
"required": [
|
|
|
"sentNotificationId"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "发送出的通知"
|
|
|
},
|
|
|
"solveScoreItemRequestBody": {
|
|
|
"title": "solveScoreItemRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -2819,7 +4200,7 @@ |
|
|
},
|
|
|
"recordType": {
|
|
|
"type": "integer",
|
|
|
"description": "记录类型(1兑换,2任务奖励)",
|
|
|
"description": "记录类型(1兑换,2任务奖励,3增加,4扣除)",
|
|
|
"required": [
|
|
|
"recordType"
|
|
|
]
|
...
|
...
|
@@ -2848,29 +4229,33 @@ |
|
|
},
|
|
|
"description": "素币事务记录"
|
|
|
},
|
|
|
"systemTaskStatisticsResponseBody": {
|
|
|
"title": "systemTaskStatisticsResponseBody",
|
|
|
"taskNatureResponseBody": {
|
|
|
"title": "taskNatureResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"completed": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "系统已完成任务",
|
|
|
"format": "int64"
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"released": {
|
|
|
"taskNatureId": {
|
|
|
"type": "integer",
|
|
|
"description": "系统已发布任务",
|
|
|
"description": "任务性质ID",
|
|
|
"required": [
|
|
|
"released"
|
|
|
"taskNatureId"
|
|
|
]
|
|
|
},
|
|
|
"underway": {
|
|
|
"type": "integer",
|
|
|
"description": "系统进行中任务",
|
|
|
"format": "int64"
|
|
|
"taskNatureName": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质名称",
|
|
|
"required": [
|
|
|
"taskNatureName"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "系统任务统计"
|
|
|
"description": "任务性质"
|
|
|
},
|
|
|
"taskPercentageItemRequestBody": {
|
|
|
"title": "taskPercentageItemRequestBody",
|
...
|
...
|
@@ -2945,6 +4330,11 @@ |
|
|
"acceptanceStandard"
|
|
|
]
|
|
|
},
|
|
|
"acceptanceTime": {
|
|
|
"type": "string",
|
|
|
"description": "验收方验收时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"bidInfo": {
|
|
|
"$ref": "#/definitions/bidInfoResponseBody"
|
|
|
},
|
...
|
...
|
@@ -2955,6 +4345,11 @@ |
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"completeTime": {
|
|
|
"type": "string",
|
|
|
"description": "完成任务操作时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"createTime": {
|
|
|
"type": "string",
|
|
|
"description": "创建时间",
|
...
|
...
|
@@ -2962,14 +4357,15 @@ |
|
|
"createTime"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"customerValues": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "客户价值列表",
|
|
|
"required": [
|
|
|
"customerValue"
|
|
|
"customerValues"
|
|
|
]
|
|
|
},
|
|
|
"isRewardTake": {
|
...
|
...
|
@@ -2983,12 +4379,28 @@ |
|
|
},
|
|
|
"description": "任务参与者列表"
|
|
|
},
|
|
|
"projectBelong": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "项目归属",
|
|
|
"required": [
|
|
|
"projectBelong"
|
|
|
]
|
|
|
},
|
|
|
"receiveTime": {
|
|
|
"type": "string",
|
|
|
"description": "领取任务时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"referenceResource": {
|
|
|
"$ref": "#/definitions/referenceResourceResponseBody"
|
|
|
},
|
|
|
"releaseTime": {
|
|
|
"type": "string",
|
|
|
"description": "发布时间",
|
|
|
"description": "发布任务时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"robInfo": {
|
...
|
...
|
@@ -3037,7 +4449,7 @@ |
|
|
]
|
|
|
},
|
|
|
"taskNature": {
|
|
|
"type": "string",
|
|
|
"type": "integer",
|
|
|
"description": "任务性质",
|
|
|
"required": [
|
|
|
"taskNature"
|
...
|
...
|
@@ -3059,14 +4471,14 @@ |
|
|
},
|
|
|
"taskStatus": {
|
|
|
"type": "integer",
|
|
|
"description": "任务状态",
|
|
|
"description": "任务状态(1.待发布2.待领取3.进行中4.待验收5.已完成6.关闭7.待确认)",
|
|
|
"required": [
|
|
|
"taskStatus"
|
|
|
]
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"description": "任务类型(1.抢单任务2.竞标任务3.指派任务)",
|
|
|
"required": [
|
|
|
"taskType"
|
|
|
]
|
...
|
...
|
|