{ "openapi": "3.0.1", "info": { "title": "OA移动端Api", "version": "v2" }, "paths": { "/api/v2/MobileManager/GetTaskCheckListByType": { "get": { "tags": [ "MobileManager" ], "summary": "部长获取工作任务指标列表", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Task_checklistCloudSchoolResult" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Task_checklistCloudSchoolResult" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Task_checklistCloudSchoolResult" } } } } } } } }, "/api/v2/MobileManager/GetUserAdminInfu": { "get": { "tags": [ "MobileManager" ], "summary": "人员管理(根据角色获取【组长获取学习官,部长根据学校id获取组长和学习官,总部长根据学校id获取部长组长学习官】)", "parameters": [ { "name": "schoolId", "in": "query", "description": "学校id", "schema": { "type": "integer", "format": "int64", "nullable": true } }, { "name": "cloudSchoolId", "in": "query", "description": "云校id", "schema": { "type": "integer", "format": "int64", "nullable": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserAdminInfoResult" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserAdminInfoResult" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserAdminInfoResult" } } } } } } } }, "/api/v2/TaskSummarize/GetGeneralCloudSchoolInfo": { "get": { "tags": [ "TaskSummarize" ], "summary": "总部长获取关联云校的列表", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CloudSchoolResult" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CloudSchoolResult" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CloudSchoolResult" } } } } } } } }, "/api/v2/TaskSummarize/GetSummarizNoReadByType": { "get": { "tags": [ "TaskSummarize" ], "summary": "获取用户未读的总结任务数量", "parameters": [ { "name": "type", "in": "query", "description": "1:日报 2:周报 3:月报", "schema": { "type": "integer", "format": "int32" } }, { "name": "LikeUserIds", "in": "query", "description": "用户id集合", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true } }, { "name": "BeginDate", "in": "query", "description": "开始时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "EndDate", "in": "query", "description": "结束时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "cloudSchoolId", "in": "query", "description": "云校id", "schema": { "type": "integer", "format": "int64", "nullable": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SummarizeNoReadResult" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SummarizeNoReadResult" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SummarizeNoReadResult" } } } } } } }, "/api/v2/TaskSummarize/GetSummarizDayListResult": { "get": { "tags": [ "TaskSummarize" ], "summary": "管理端获取本人所管理的人员的日报", "parameters": [ { "name": "cloudSchoolId", "in": "query", "description": "云校iD", "schema": { "type": "integer", "format": "int64", "nullable": true } }, { "name": "UserName", "in": "query", "description": "用户姓名", "schema": { "type": "string" } }, { "name": "BeginTime", "in": "query", "description": "开始时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "EndTime", "in": "query", "description": "结束时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "PageIndex", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "PageSize", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "isOnlyNoRead", "in": "query", "description": "是否已读", "schema": { "type": "boolean", "default": false } } ], "requestBody": { "description": "用户id", "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/*+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SummarizeDayListResultPageResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SummarizeDayListResultPageResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SummarizeDayListResultPageResponse" } } } } } } }, "/api/v2/TaskSummarize/GetSummarizWeekListResult": { "get": { "tags": [ "TaskSummarize" ], "summary": "管理端获取本人所管理的人员的周报", "parameters": [ { "name": "cloudSchoolId", "in": "query", "description": "云校iD", "schema": { "type": "integer", "format": "int64", "nullable": true } }, { "name": "UserName", "in": "query", "description": "用户姓名", "schema": { "type": "string" } }, { "name": "BeginTime", "in": "query", "description": "开始时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "EndTime", "in": "query", "description": "结束时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "PageIndex", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "PageSize", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "isOnlyNoRead", "in": "query", "description": "是否已读", "schema": { "type": "boolean", "default": false } } ], "requestBody": { "description": "用户id", "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/*+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SummarizWeekTaskResultPageResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SummarizWeekTaskResultPageResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SummarizWeekTaskResultPageResponse" } } } } } } }, "/api/v2/TaskSummarize/GetSummarizMonthTaskResult": { "get": { "tags": [ "TaskSummarize" ], "summary": "管理端获取本人所管理的人员的月报", "parameters": [ { "name": "cloudSchoolId", "in": "query", "description": "云校iD", "schema": { "type": "integer", "format": "int64", "nullable": true } }, { "name": "UserName", "in": "query", "description": "用户姓名", "schema": { "type": "string" } }, { "name": "BeginTime", "in": "query", "description": "开始时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "EndTime", "in": "query", "description": "结束时间", "schema": { "type": "string", "format": "date-time", "nullable": true } }, { "name": "PageIndex", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "PageSize", "in": "query", "description": "", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "isOnlyNoRead", "in": "query", "description": "是否已读", "schema": { "type": "boolean", "default": false } } ], "requestBody": { "description": "用户id", "content": { "application/json-patch+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "application/*+json": { "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SummarizeMonthTaskResultPageResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SummarizeMonthTaskResultPageResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SummarizeMonthTaskResultPageResponse" } } } } } } } }, "components": { "schemas": { "CloudSchoolResult": { "type": "object", "properties": { "cloudName": { "type": "string", "description": "云校名称" }, "cloudId": { "type": "integer", "description": "云校ID", "format": "int64" } }, "additionalProperties": false }, "SummarizWeekTaskResult": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "userEnum": { "type": "integer", "description": "用户角色枚举", "format": "int32" }, "userId": { "type": "integer", "description": "用户Id", "format": "int64" }, "userName": { "type": "string", "description": "用户姓名" }, "userHeadImage": { "type": "string", "description": "用户头像地址" }, "workYear": { "type": "integer", "description": "总结年份", "format": "int32" }, "workMonth": { "type": "integer", "description": "总结月份", "format": "int32" }, "workWeek": { "type": "integer", "description": "总结周", "format": "int32" }, "beginDate": { "type": "string", "description": "开始日期", "format": "date-time", "nullable": true }, "endDate": { "type": "string", "description": "结束日期", "format": "date-time", "nullable": true }, "questContent": { "type": "string", "description": "问题反馈" }, "addTime": { "type": "string", "description": "创建时间", "format": "date-time" }, "superiorEvaluation": { "type": "string", "description": "组长评价", "nullable": true }, "superiorUserId": { "type": "integer", "description": "组长用户Id", "format": "int64", "nullable": true }, "superiorAddtime": { "type": "string", "description": "备 注:组长评价时间\r\n默认值:", "format": "date-time", "nullable": true }, "superiorUserName": { "type": "string", "description": "组长用户名", "nullable": true }, "ministerEvaluation": { "type": "string", "description": "部长评价", "nullable": true }, "ministerUserId": { "type": "integer", "description": "部长用户Id", "format": "int64", "nullable": true }, "ministerAddtime": { "type": "string", "description": "备 注:部长评价时间\r\n默认值:", "format": "date-time", "nullable": true }, "ministerUserName": { "type": "string", "description": "部长用户名", "nullable": true }, "nextTimeContent": { "type": "string", "description": "备 注:下次工作内容\r\n默认值:" }, "readId": { "type": "integer", "description": "已读id(如果null则未读)", "format": "int64", "nullable": true } }, "additionalProperties": false }, "SummarizWeekTaskResultPageResponse": { "type": "object", "properties": { "total": { "type": "integer", "description": "总记录条数", "format": "int32" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/SummarizWeekTaskResult" }, "description": "响应数据" } }, "additionalProperties": false, "description": "分页响应实体类" }, "SummarizeDayListResult": { "type": "object", "properties": { "id": { "type": "integer", "description": "日报Id", "format": "int64" }, "workDate": { "type": "string", "description": "备 注:工作总结日期\r\n默认值:", "format": "date-time" }, "questContent": { "type": "string", "description": "备 注:问题反馈\r\n默认值:" }, "userId": { "type": "integer", "description": "用户id", "format": "int64" }, "userName": { "type": "string", "description": "用户姓名" }, "userHeadImage": { "type": "string", "description": "用户头像地址" }, "userEnum": { "type": "integer", "description": "备 注:用户角色枚举(如果是组长,只有部长评价,如果是学习官,有部长和组长评价)\r\n默认值:", "format": "int32" }, "addTime": { "type": "string", "description": "备 注:添加时间\r\n默认值:", "format": "date-time" }, "superiorEvaluation": { "type": "string", "description": "备 注:组长评价\r\n默认值:", "nullable": true }, "superiorUserId": { "type": "integer", "description": "备 注:组长评价人id\r\n默认值:", "format": "int64", "nullable": true }, "superiorUserName": { "type": "string", "description": "备 注:组长评价人\r\n默认值:", "nullable": true }, "ministerEvaluation": { "type": "string", "description": "备 注:部长评价\r\n默认值:", "nullable": true }, "ministerUserId": { "type": "integer", "description": "备 注:部长评价人id\r\n默认值:", "format": "int64", "nullable": true }, "ministerUserName": { "type": "string", "description": "备 注:部长评价人\r\n默认值:", "nullable": true }, "nextTimeContent": { "type": "string", "description": "备 注:下次工作内容\r\n默认值:" }, "readId": { "type": "integer", "description": "已读id(如果null则未读)", "format": "int64", "nullable": true } }, "additionalProperties": false }, "SummarizeDayListResultPageResponse": { "type": "object", "properties": { "total": { "type": "integer", "description": "总记录条数", "format": "int32" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/SummarizeDayListResult" }, "description": "响应数据" } }, "additionalProperties": false, "description": "分页响应实体类" }, "SummarizeMonthTaskResult": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "userId": { "type": "integer", "description": "备 注:用户id\r\n默认值:", "format": "int64" }, "userName": { "type": "string", "description": "用户姓名" }, "userHeadImage": { "type": "string", "description": "用户头像地址" }, "userEnum": { "type": "integer", "description": "备 注:用户角色枚举(如果是组长,只有部长评价,如果是学习官,有部长和组长评价)\r\n默认值:", "format": "int32" }, "workYear": { "type": "integer", "description": "备 注:工作年份\r\n默认值:", "format": "int32", "nullable": true }, "workMonth": { "type": "integer", "description": "备 注:工作月份\r\n默认值:", "format": "int32" }, "questContent": { "type": "string", "description": "备 注:问题反馈\r\n默认值:" }, "monthContent": { "type": "string", "description": "备 注:本月总结\r\n默认值:" }, "addTime": { "type": "string", "description": "备 注:添加时间\r\n默认值:", "format": "date-time" }, "superiorEvaluation": { "type": "string", "description": "备 注:组长评价\r\n默认值:", "nullable": true }, "superiorUserId": { "type": "integer", "description": "备 注:组长评价人id\r\n默认值:", "format": "int64", "nullable": true }, "superiorAddtime": { "type": "string", "description": "备 注:组长评价时间\r\n默认值:", "format": "date-time", "nullable": true }, "superiorUserName": { "type": "string", "description": "组长用户名", "nullable": true }, "ministerEvaluation": { "type": "string", "description": "备 注:部长评价\r\n默认值:", "nullable": true }, "ministerUserId": { "type": "integer", "description": "备 注:部长评价人id\r\n默认值:", "format": "int64", "nullable": true }, "ministerAddtime": { "type": "string", "description": "备 注:部长评价时间\r\n默认值:", "format": "date-time", "nullable": true }, "ministerUserName": { "type": "string", "description": "部长用户名", "nullable": true }, "nextTimeContent": { "type": "string", "description": "备 注:下次工作内容\r\n默认值:" }, "readId": { "type": "integer", "description": "已读id(如果null则未读)", "format": "int64", "nullable": true } }, "additionalProperties": false }, "SummarizeMonthTaskResultPageResponse": { "type": "object", "properties": { "total": { "type": "integer", "description": "总记录条数", "format": "int32" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/SummarizeMonthTaskResult" }, "description": "响应数据" } }, "additionalProperties": false, "description": "分页响应实体类" }, "SummarizeNoReadResult": { "type": "object", "properties": { "noReadCount": { "type": "integer", "description": "未读消息数量", "format": "int32" } }, "additionalProperties": false }, "SysRoleEnum": { "enum": [ 1, 2, 1000, 1001, 1002, 1003 ], "type": "integer", "description": "系统角色枚举", "format": "int32" }, "Task_checklistCloudSchoolResult": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "taskTypeEnum": { "type": "integer", "description": "任务类型id", "format": "int64" }, "taskTypeEnumName": { "type": "string", "description": "备 注:任务类型名称" }, "cloudSchoolId": { "type": "integer", "description": "备 注:云校id\r\n默认值:", "format": "int64", "nullable": true }, "targetNumber": { "type": "integer", "description": "备 注:任务指标数\r\n默认值:", "format": "int32" }, "taskType": { "type": "integer", "description": "备 注:班级/通用任务类型 1班级;2通用\r\n默认值:", "format": "int32" } }, "additionalProperties": false }, "UserAdminInfoResult": { "type": "object", "properties": { "userName": { "type": "string", "description": "用户姓名" }, "userId": { "type": "integer", "description": "用户id", "format": "int64" }, "roleEnum": { "$ref": "#/components/schemas/SysRoleEnum" }, "classCount": { "type": "integer", "description": "管理班级个数", "format": "int32", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "apiKey", "description": "在下框中输入请求头中需要添加Jwt授权Token:Bearer {Token},注意中间有空格", "name": "Authorization", "in": "header" } } }, "security": [ { "Bearer": [ ] } ], "tags": [ { "name": "MobileManager", "description": "移动端部长/组长管理" }, { "name": "TaskSummarize", "description": "总结任务报告api" } ] }