-
-
Save tilkofjin/41f525e25c0989e64be0920350e24705 to your computer and use it in GitHub Desktop.
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/LICENSE.md","entries":[{"id":"niJn.md","source":"searchReplace.source","timestamp":1649307924000}]} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/api/uama/app/menu/getAppMenuByPage": { | |
"get": { | |
"description": "获取项目下拉列表", | |
"operationId": "getMenuByPage", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "pageId", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MenuByPageData" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getMenuByPage" | |
}, | |
"/api/uama/community/selectList": { | |
"get": { | |
"description": "获取小区下拉列表", | |
"operationId": "getSelectList", | |
"tags": ["community"], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunitySelectList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSelectList" | |
}, | |
"/api/uama/community/getCommunityUser": { | |
"get": { | |
"description": "获取小区下人员列表", | |
"operationId": "getCommunityUser", | |
"tags": ["community"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"TokenByTicket": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"MenuByPageDataItem": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "按钮code" | |
}, | |
"name": { | |
"type": "string", | |
"description": "按钮菜单名称" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isSelected": { | |
"type": "integer", | |
"format": "int32", | |
"description": "当前用户是否有权限,1有权限,0无权限" | |
}, | |
"menuType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,3表示按钮" | |
}, | |
"roleType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "1查看,2新增,3编辑,4导出,5其他" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"MenuByPageData": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MenuByPageDataItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunitySelectListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "小区名称" | |
} | |
} | |
}, | |
"CommunitySelectList": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunitySelectListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"loginName": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"headPicName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"userType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "100平台,101小区,102租户" | |
}, | |
"orgId": { | |
"type": "string" | |
}, | |
"userOrganization": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"info": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/config/system.json","entries":[{"id":"btAu.json","timestamp":1654743020000},{"id":"mIsQ.json","timestamp":1654749236000},{"id":"JoLY.json","timestamp":1654824532000}]} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/api/uama/app/menu/getAppMenuByPage": { | |
"get": { | |
"description": "获取项目下拉列表", | |
"operationId": "getMenuByPage", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "pageId", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MenuByPageData" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getMenuByPage" | |
}, | |
"/api/uama/community/selectList": { | |
"get": { | |
"description": "获取小区下拉列表", | |
"operationId": "getSelectList", | |
"tags": ["community"], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunitySelectList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSelectList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"TokenByTicket": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"MenuByPageDataItem": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "按钮code" | |
}, | |
"name": { | |
"type": "string", | |
"description": "按钮菜单名称" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isSelected": { | |
"type": "integer", | |
"format": "int32", | |
"description": "当前用户是否有权限,1有权限,0无权限" | |
}, | |
"menuType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,3表示按钮" | |
}, | |
"roleType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "1查看,2新增,3编辑,4导出,5其他" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"MenuByPageData": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MenuByPageDataItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunitySelectListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "小区名称" | |
} | |
} | |
}, | |
"CommunitySelectList": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunitySelectListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"loginName": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"headPicName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"userType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "100平台,101小区,102租户" | |
}, | |
"orgId": { | |
"type": "string" | |
}, | |
"userOrganization": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"userInfo": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
}, | |
"info": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/api/uama/app/menu/getAppMenuByPage": { | |
"get": { | |
"description": "获取项目下拉列表", | |
"operationId": "getMenuByPage", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageId", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MenuByPageData" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getMenuByPage" | |
}, | |
"/api/uama/community/selectList": { | |
"get": { | |
"description": "获取小区下拉列表", | |
"operationId": "getSelectList", | |
"tags": [ | |
"community" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunitySelectList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSelectList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"TokenByTicket": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"MenuByPageDataItem": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "按钮code" | |
}, | |
"name": { | |
"type": "string", | |
"description": "按钮菜单名称" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isSelected": { | |
"type": "integer", | |
"format": "int32", | |
"description": "当前用户是否有权限,1有权限,0无权限" | |
}, | |
"menuType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,3表示按钮" | |
}, | |
"roleType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "1查看,2新增,3编辑,4导出,5其他" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"MenuByPageData": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MenuByPageDataItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunitySelectListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "小区名称" | |
} | |
} | |
}, | |
"CommunitySelectList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunitySelectListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"loginName": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"headPicName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"userType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "100平台,101小区,102租户" | |
}, | |
"orgId": { | |
"type": "string" | |
}, | |
"userOrganization": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"info": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/user/Home3/variables.less","entries":[{"id":"YJVh.less","timestamp":1652677893417}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/Platform/sysMgmt/platformRoleMgmt/components/Detail/index.tsx","entries":[{"id":"bj9M.tsx","timestamp":1651931665908},{"id":"7mHb.tsx","timestamp":1651932082938}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/src/services/addQuestion.ts","entries":[{"id":"1Tkf.ts","timestamp":1650504878000},{"id":"uLgs.ts","timestamp":1650528360000},{"id":"0S1V.ts","timestamp":1651116204000},{"id":"kGX7.ts","source":"undoRedo.source","timestamp":1651116226000},{"id":"4sBj.ts","timestamp":1651116234000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/src/services/system/community.ts","entries":[{"id":"gHld.ts","timestamp":1655710008000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-pc/src/pages/InventoryMgmt/warehouseMgmt/edit/index.tsx","entries":[{"id":"0nP5.tsx","timestamp":1653455108000},{"id":"jSDo.tsx","timestamp":1653461042000},{"id":"EcZU.tsx","timestamp":1653903288000},{"id":"Bz6p.tsx","timestamp":1653903634000},{"id":"rsKP.tsx","timestamp":1653903718000},{"id":"zyQB.tsx","timestamp":1653903828000},{"id":"xmOJ.tsx","timestamp":1653904264000},{"id":"MdHI.tsx","source":"undoRedo.source","timestamp":1653904274000},{"id":"XXWl.tsx","timestamp":1654497836000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/testLvManSDK/config/config.ts","entries":[{"id":"fN0t.ts","timestamp":1652926410000},{"id":"3emW.ts","timestamp":1652926504000},{"id":"qGS6.ts","source":"undoRedo.source","timestamp":1652926516000},{"id":"3X52.ts","timestamp":1652926576000},{"id":"eMXZ.ts","timestamp":1652926612000},{"id":"tBNK.ts","timestamp":1652926924000},{"id":"pwev.ts","timestamp":1652927036000},{"id":"s9Lr.ts","timestamp":1652927086000},{"id":"VWgF.ts","timestamp":1652927154000},{"id":"jdJo.ts","timestamp":1652927676000},{"id":"4Tis.ts","timestamp":1652938620000},{"id":"Em43.ts","timestamp":1652938694000},{"id":"dsoM.ts","timestamp":1652939504000},{"id":"R43t.ts","timestamp":1652939792000},{"id":"nMkn.ts","timestamp":1652939846000},{"id":"m3xH.ts","timestamp":1652939986000},{"id":"6INW.ts","timestamp":1652940248000},{"id":"QMzz.ts","timestamp":1652940340000},{"id":"VZ0Q.ts","timestamp":1652941026000},{"id":"eSkN.ts","timestamp":1652941038000},{"id":"RZpE.ts","timestamp":1653529024000},{"id":"DgxO.ts","timestamp":1653529202000},{"id":"tmtK.ts","timestamp":1653529994000},{"id":"u2sE.ts","timestamp":1653530274000},{"id":"MwlU.ts","timestamp":1653530990000},{"id":"hS4q.ts","timestamp":1653534402000},{"id":"cyvc.ts","timestamp":1653540954000},{"id":"zyKo.ts","timestamp":1653541706000},{"id":"JVnk.ts","timestamp":1653542154000},{"id":"cSub.ts","timestamp":1653542562000},{"id":"ocyv.ts","timestamp":1653542616000},{"id":"pK3W.ts","timestamp":1653543222000},{"id":"xGMf.ts","timestamp":1653543248000},{"id":"ecm1.ts","timestamp":1653543678000},{"id":"hAdk.ts","timestamp":1653543764000},{"id":"sv5H.ts","source":"undoRedo.source","timestamp":1653543888000},{"id":"N8pT.ts","timestamp":1653543898000},{"id":"L3B4.ts","source":"undoRedo.source","timestamp":1653544240000},{"id":"KC0k.ts","timestamp":1653545546000},{"id":"CIYZ.ts","timestamp":1653545634000},{"id":"zIwu.ts","timestamp":1653545938000},{"id":"OdcG.ts","timestamp":1653546142000},{"id":"tQ1q.ts","timestamp":1653549164000},{"id":"oN4b.ts","timestamp":1653549202000},{"id":"FoN2.ts","timestamp":1653549230000},{"id":"sYRe.ts","timestamp":1653549290000},{"id":"qM3M.ts","source":"undoRedo.source","timestamp":1653549360000},{"id":"ZEEO.ts","timestamp":1653550060000},{"id":"prIY.ts","timestamp":1653558130000},{"id":"B1pj.ts","timestamp":1655266198000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/ant-design-pro-master/src/pages/document.ejs","entries":[{"id":"jSh4.ejs","timestamp":1652419154000},{"id":"xuO0.ejs","timestamp":1652419302000}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/user/Home3/components/Business/index.less","entries":[{"id":"gDoe.less","timestamp":1652447553710},{"id":"h9zD.less","timestamp":1652447670552},{"id":"QlNP.less","timestamp":1652666359861},{"id":"m5hl.less","timestamp":1652666402101},{"id":"3Otc.less","timestamp":1652666443207},{"id":"cfX1.less","timestamp":1652666484598},{"id":"5ymj.less","timestamp":1652666916917},{"id":"iyyV.less","timestamp":1652667653475},{"id":"6Anp.less","timestamp":1652668872263},{"id":"SJG1.less","timestamp":1652668894319},{"id":"fWVP.less","timestamp":1652671976473},{"id":"TwYH.less","timestamp":1652672022371},{"id":"JIKx.less","timestamp":1652672050161},{"id":"Xya4.less","timestamp":1652672072854},{"id":"457f.less","timestamp":1652672101573},{"id":"XTcZ.less","timestamp":1652672120752},{"id":"J14O.less","timestamp":1652672139216},{"id":"agRL.less","timestamp":1652672160789},{"id":"IL2F.less","timestamp":1652672208446},{"id":"ouyx.less","timestamp":1652672262878},{"id":"FR8f.less","timestamp":1652676014941},{"id":"8eM2.less","timestamp":1652676033393},{"id":"2SNv.less","timestamp":1652676065549}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/user/Home3/components/General/index.tsx","entries":[{"id":"66cn.tsx","timestamp":1652431015001},{"id":"yuQm.tsx","timestamp":1652431034056},{"id":"UAR7.tsx","timestamp":1652447423630},{"id":"6f9v.tsx","timestamp":1652680198553},{"id":"vJkL.tsx","source":"Fix all ESLint auto-fixable problems","timestamp":1652680280746},{"id":"tk1C.tsx","timestamp":1652680293101},{"id":"txLq.tsx","timestamp":1652680320750},{"id":"BDrE.tsx","timestamp":1652680458511},{"id":"v3YJ.tsx","timestamp":1652680560243},{"id":"4UYx.tsx","timestamp":1652680583975},{"id":"2sJr.tsx","timestamp":1652680697129},{"id":"7gVt.tsx","timestamp":1652680806393},{"id":"ly50.tsx","timestamp":1652680830125},{"id":"j6A6.tsx","timestamp":1652680969430},{"id":"vIV2.tsx","timestamp":1652681002895},{"id":"IgXN.tsx","timestamp":1652681211678},{"id":"WNjG.tsx","timestamp":1652681295433},{"id":"qRkE.tsx","timestamp":1652681329120},{"id":"akqb.tsx","timestamp":1652681383072},{"id":"vlup.tsx","timestamp":1652681555595},{"id":"kfFl.tsx","timestamp":1652681963928},{"id":"oZTD.tsx","timestamp":1652682256111},{"id":"YJc7.tsx","source":"undoRedo.source","timestamp":1652683121397}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/src/pages/concentrateDeliver/index.tsx","entries":[{"id":"UM6o.tsx","timestamp":1650858972000},{"id":"oXm6.tsx","timestamp":1650861042000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/src/pages/questionList/index.tsx","entries":[{"id":"sPPl.tsx","timestamp":1650593336000},{"id":"9pv0.tsx","timestamp":1650610070000},{"id":"ysUP.tsx","timestamp":1650610436000},{"id":"rUs4.tsx","timestamp":1650610652000},{"id":"upLE.tsx","timestamp":1650611770000},{"id":"v1Qg.tsx","timestamp":1650611984000},{"id":"JosX.tsx","timestamp":1650612020000},{"id":"Se8d.tsx","timestamp":1650612288000},{"id":"LrNm.tsx","timestamp":1650613174000},{"id":"8mBe.tsx","timestamp":1650613260000},{"id":"5hDO.tsx","timestamp":1650613306000},{"id":"TwyR.tsx","timestamp":1650613332000},{"id":"mCrr.tsx","timestamp":1650613366000},{"id":"FsPz.tsx","timestamp":1650613900000},{"id":"EOlL.tsx","timestamp":1650614030000},{"id":"ZNW9.tsx","timestamp":1650614034000},{"id":"0ClJ.tsx","timestamp":1650614078000},{"id":"CFgg.tsx","timestamp":1650614344000},{"id":"iJY3.tsx","timestamp":1650615358000},{"id":"h99E.tsx","timestamp":1650615422000},{"id":"kt4L.tsx","timestamp":1650615440000},{"id":"Ds3z.tsx","timestamp":1650615490000},{"id":"0JWn.tsx","timestamp":1650615532000},{"id":"WPrp.tsx","timestamp":1650615624000},{"id":"V2jj.tsx","timestamp":1650617064000},{"id":"64Nx.tsx","timestamp":1650618010000},{"id":"GLGd.tsx","timestamp":1650618998000},{"id":"YkOh.tsx","timestamp":1650619030000},{"id":"Hacu.tsx","timestamp":1650619098000},{"id":"nzmX.tsx","timestamp":1650619122000},{"id":"h7Yv.tsx","timestamp":1650619138000},{"id":"gXjQ.tsx","timestamp":1650619152000},{"id":"3X7A.tsx","timestamp":1650619176000},{"id":"m0sy.tsx","timestamp":1650619566000},{"id":"CUAn.tsx","timestamp":1650619588000},{"id":"dbR6.tsx","timestamp":1650619592000},{"id":"XEXp.tsx","timestamp":1650619730000},{"id":"FMIG.tsx","timestamp":1650620738000},{"id":"ax7V.tsx","timestamp":1650621414000},{"id":"Orrn.tsx","timestamp":1650621456000},{"id":"x9VP.tsx","timestamp":1650621474000},{"id":"EmQ3.tsx","timestamp":1650621970000},{"id":"FHuG.tsx","timestamp":1650763606000},{"id":"gbuC.tsx","timestamp":1650763972000},{"id":"CkCC.tsx","timestamp":1650763984000},{"id":"A5eU.tsx","timestamp":1650764916000},{"id":"29Mn.tsx","timestamp":1650861470000},{"id":"JaRm.tsx","source":"Fix all ESLint auto-fixable problems","timestamp":1650861534000},{"id":"7mL5.tsx","timestamp":1651123260000},{"id":"2N8m.tsx","timestamp":1651146798000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/antd-pro-template/src/components/KeepAliveTabs/index.tsx","entries":[{"id":"qqLW.tsx","timestamp":1652764800000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/src/pages/checkend/index.tsx","entries":[{"id":"gyEZ.tsx","timestamp":1650505014000},{"id":"aOkA.tsx","timestamp":1650505038000},{"id":"5bok.tsx","timestamp":1651145890000},{"id":"Oa5A.tsx","source":"Fix all ESLint auto-fixable problems","timestamp":1651146300000},{"id":"lfnM.tsx","timestamp":1651146388000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/cms-mini/src/utils/index.ts","entries":[{"id":"LFTR.ts","timestamp":1650189706000},{"id":"InkQ.ts","timestamp":1651894476000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/home-inspection-h5/dist/index.html","entries":[{"id":"qGXQ.html","timestamp":1653281816000},{"id":"7geX.html","source":"undoRedo.source","timestamp":1653281836000},{"id":"oJ0e.html","timestamp":1653282754000},{"id":"s0ps.html","timestamp":1653282872000},{"id":"2hAd.html","timestamp":1653283076000},{"id":"aJsq.html","timestamp":1654918032000},{"id":"Z4R5.html","source":"undoRedo.source","timestamp":1654918064000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/src/layouts/baseLayout/index.tsx","entries":[{"id":"xBUk.tsx","timestamp":1653639802000},{"id":"Vje9.tsx","timestamp":1653707892000},{"id":"1bsD.tsx","source":"moved.source","timestamp":1653718118926},{"id":"eIhF.tsx","source":"moved.source","timestamp":1653718471539},{"id":"zXcI.tsx","source":"moved.source","timestamp":1653721748978},{"id":"9uo2.tsx","timestamp":1653723818000},{"id":"wp9u.tsx","timestamp":1653724520000},{"id":"63FD.tsx","timestamp":1653724950000},{"id":"y4DT.tsx","timestamp":1653728634000},{"id":"hAFY.tsx","timestamp":1653729526000},{"id":"EPku.tsx","timestamp":1653729540000},{"id":"3E7y.tsx","timestamp":1653729604000},{"id":"vIcs.tsx","timestamp":1653729666000},{"id":"gt1m.tsx","timestamp":1653729688000},{"id":"qhTF.tsx","timestamp":1653747092000},{"id":"YItf.tsx","timestamp":1654743588000},{"id":"gf4H.tsx","timestamp":1654754776000},{"id":"HYL3.tsx","timestamp":1654761406000},{"id":"bGSP.tsx","source":"undoRedo.source","timestamp":1654761414000},{"id":"aZqI.tsx","timestamp":1654761438000},{"id":"NHkQ.tsx","timestamp":1654761488000},{"id":"rGbD.tsx","timestamp":1655189002000},{"id":"urqV.tsx","timestamp":1655189060000},{"id":"XDo2.tsx","timestamp":1655189238000}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Downloads/cms-mini-62966bceca8ae92fa8cad1c83331ce697265b1db/babel.config.js","entries":[{"id":"oheP.js","timestamp":1648730826446},{"id":"Y5nD.js","source":"undoRedo.source","timestamp":1648730893445}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/cms-mini/src/app.config.ts","entries":[{"id":"1kN1.ts","timestamp":1649301492000},{"id":"q3Kk.ts","timestamp":1649301554000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-pc/.gitignore","entries":[{"id":"bWEN","timestamp":1653275850000},{"id":"beuP","timestamp":1654592070000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/testLvManSDK/typings.d.ts","entries":[{"id":"EIl0.ts","timestamp":1652857496000},{"id":"YIzk.ts","timestamp":1652857512000},{"id":"uwpt.ts","timestamp":1652857696000},{"id":"5ROB.ts","timestamp":1652861168000},{"id":"PPgY.ts","timestamp":1652861242000},{"id":"h4sE.ts","timestamp":1652861276000},{"id":"eFL1.ts","timestamp":1652861366000},{"id":"lBuK.ts","timestamp":1652861410000},{"id":"521z.ts","source":"undoRedo.source","timestamp":1652861934000},{"id":"QKFs.ts","timestamp":1652862020000},{"id":"PSHi.ts","timestamp":1652862036000},{"id":"w0L4.ts","timestamp":1652862090000},{"id":"01nG.ts","timestamp":1652862336000},{"id":"tc06.ts","timestamp":1652862372000},{"id":"jiCt.ts","timestamp":1653529022000},{"id":"71JW.ts","timestamp":1653529828000},{"id":"6dLg.ts","timestamp":1653530816000},{"id":"UBZE.ts","timestamp":1653531264000},{"id":"aWMh.ts","timestamp":1653531676000},{"id":"czoh.ts","timestamp":1653531784000},{"id":"i0OH.ts","source":"undoRedo.source","timestamp":1653531804000},{"id":"THef.ts","timestamp":1653531848000},{"id":"rJFK.ts","timestamp":1653531866000},{"id":"Xi4j.ts","timestamp":1653541894000}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Downloads/cms-mini-62966bceca8ae92fa8cad1c83331ce697265b1db/config/index.js","entries":[{"id":"Lbwz.js","timestamp":1648707900728}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/src/pages/stockMgmt/selectGoods/index.less","entries":[{"id":"4upx.less","source":"undoRedo.source","timestamp":1654851646000},{"id":"IMRx.less","timestamp":1654851688000},{"id":"1g9f.less","timestamp":1654852246000},{"id":"WOiy.less","timestamp":1654853650000},{"id":"H6au.less","timestamp":1654853664000},{"id":"bpRE.less","timestamp":1654853964000},{"id":"8Ixw.less","timestamp":1654854028000},{"id":"6OyV.less","timestamp":1654855922000},{"id":"Y3St.less","timestamp":1654855956000},{"id":"nlNL.less","timestamp":1654855978000},{"id":"fGFJ.less","timestamp":1654855994000},{"id":"UCFy.less","timestamp":1654856058000},{"id":"cqQI.less","timestamp":1654856094000},{"id":"7m2Z.less","timestamp":1654856186000},{"id":"s5cJ.less","timestamp":1654856206000},{"id":"vZci.less","timestamp":1654856264000},{"id":"YEq0.less","timestamp":1654856378000},{"id":"2RBM.less","timestamp":1654856602000},{"id":"a3jB.less","timestamp":1654856634000},{"id":"fje0.less","timestamp":1654856686000},{"id":"W3tu.less","timestamp":1654856706000},{"id":"XKjE.less","timestamp":1654856812000},{"id":"vlLN.less","timestamp":1654856924000},{"id":"L1Aj.less","timestamp":1654856986000},{"id":"DVFt.less","timestamp":1654857390000},{"id":"hmMV.less","timestamp":1654857414000},{"id":"uW5e.less","timestamp":1654857440000},{"id":"BG7s.less","timestamp":1654857476000},{"id":"0Qtw.less","timestamp":1654857492000},{"id":"FBf8.less","timestamp":1654857526000},{"id":"9OO8.less","timestamp":1654857550000},{"id":"xOh4.less","timestamp":1654857562000},{"id":"ETZ8.less","timestamp":1654857608000},{"id":"bTmG.less","timestamp":1654858056000},{"id":"qJa9.less","timestamp":1654858092000},{"id":"4QhJ.less","timestamp":1654858142000},{"id":"o4sw.less","timestamp":1654858194000},{"id":"PLv8.less","timestamp":1654858244000},{"id":"nX6D.less","timestamp":1654858268000},{"id":"uY3V.less","timestamp":1654858288000},{"id":"zh0T.less","timestamp":1654858302000},{"id":"miZa.less","timestamp":1654862076000},{"id":"fb6U.less","timestamp":1654862106000},{"id":"qAqC.less","timestamp":1654862118000},{"id":"e1le.less","timestamp":1654862142000},{"id":"IsW5.less","timestamp":1654862166000},{"id":"tOkj.less","timestamp":1654862186000},{"id":"PNrv.less","timestamp":1654927220000},{"id":"Ptt5.less","source":"undoRedo.source","timestamp":1654927266000},{"id":"vQC8.less","timestamp":1654927464000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/src/pages/home/index.less","entries":[{"id":"k1Wc.less","timestamp":1653715182000},{"id":"ms0W.less","timestamp":1653715228000},{"id":"DgXA.less","timestamp":1653715338000},{"id":"w3la.less","timestamp":1653715382000},{"id":"PIIA.less","timestamp":1653715396000},{"id":"u612.less","timestamp":1653715410000},{"id":"eHkV.less","source":"undoRedo.source","timestamp":1653715416000},{"id":"kQTt.less","timestamp":1653715440000},{"id":"TyI0.less","timestamp":1653715480000},{"id":"LTtZ.less","source":"undoRedo.source","timestamp":1653715486000},{"id":"8nU5.less","timestamp":1653715542000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/cms-frontend/config/config.ts","entries":[{"id":"7h06.ts","timestamp":1652331184000},{"id":"NuW0.ts","timestamp":1652331348000},{"id":"oAko.ts","timestamp":1652331622000},{"id":"cyvT.ts","timestamp":1652332504000},{"id":"ddt7.ts","timestamp":1655455536000}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Downloads/cms-mini-62966bceca8ae92fa8cad1c83331ce697265b1db/src/pages/home/index.tsx","entries":[{"id":"mWfb.tsx","source":"Fix all ESLint auto-fixable problems","timestamp":1648707774461},{"id":"q6vt.tsx","timestamp":1648710215469},{"id":"VpGv.tsx","timestamp":1648710432692},{"id":"ycKG.tsx","timestamp":1648710673503},{"id":"Fbjg.tsx","timestamp":1648710756206}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/user/Home3/components/Title/index.tsx","entries":[{"id":"RAdm.tsx","timestamp":1652430612856}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/src/pages/404.less","entries":[{"id":"iYA5.less","timestamp":1653708088000}]} |
{"version":1,"resource":"file:///c%3A/Users/S/Workspace/LakeCloud/smart-community/src/pages/user/Home3/components/Notification/index.less","entries":[{"id":"S7Az.less","timestamp":1652671640627},{"id":"0jkp.less","timestamp":1652671687278},{"id":"BoXj.less","timestamp":1652671781548},{"id":"yNi8.less","timestamp":1652676646362},{"id":"Pxt6.less","timestamp":1652676776577},{"id":"YH1e.less","timestamp":1652676804983},{"id":"Dw1p.less","timestamp":1652676971273},{"id":"sMaw.less","timestamp":1652677010593},{"id":"je2p.less","timestamp":1652677058714},{"id":"TMqp.less","timestamp":1652677096132},{"id":"a6de.less","timestamp":1652677142292},{"id":"GtlQ.less","timestamp":1652677160163},{"id":"Ez3V.less","timestamp":1652677192998},{"id":"F3Cx.less","timestamp":1652677581918},{"id":"7vZy.less","timestamp":1652678163776},{"id":"yl30.less","timestamp":1652692198715},{"id":"0XK5.less","timestamp":1652692375951}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/ant-design-pro-master/config/config.ts","entries":[{"id":"Rb5H.ts","timestamp":1652418672000},{"id":"TSgF.ts","timestamp":1652418740000}]} |
{"version":1,"resource":"file:///e%3A/LakeCloud/rp-frontend/src/config/restService.conf.js","entries":[{"id":"DvOD.js","timestamp":1649753786000}]} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"api/uama/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/system/easyLogin": { | |
"post": { | |
"tags": ["system"], | |
"summary": "陈炜本地的登录接口", | |
"operationId": "easyLogin", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "easyLogin" | |
}, | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/api/uama/app/menu/getAppMenuByPage": { | |
"get": { | |
"description": "获取项目下拉列表", | |
"operationId": "getMenuByPage", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "pageId", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MenuByPageData" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getMenuByPage" | |
}, | |
"/api/uama/community/selectList": { | |
"get": { | |
"description": "获取小区下拉列表", | |
"operationId": "getSelectList", | |
"tags": ["community"], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunitySelectList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSelectList" | |
}, | |
"/api/uama/community/getCommunityUser": { | |
"get": { | |
"description": "获取小区下人员列表", | |
"operationId": "getCommunityUser", | |
"tags": ["community"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"TokenByTicket": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"MenuByPageDataItem": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "按钮code" | |
}, | |
"name": { | |
"type": "string", | |
"description": "按钮菜单名称" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isSelected": { | |
"type": "integer", | |
"format": "int32", | |
"description": "当前用户是否有权限,1有权限,0无权限" | |
}, | |
"menuType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,3表示按钮" | |
}, | |
"roleType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "1查看,2新增,3编辑,4导出,5其他" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"MenuByPageData": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MenuByPageDataItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunitySelectListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "小区名称" | |
} | |
} | |
}, | |
"CommunitySelectList": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunitySelectListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"loginName": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"headPicName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"userType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "100平台,101小区,102租户" | |
}, | |
"orgId": { | |
"type": "string" | |
}, | |
"userOrganization": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"info": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/system/easyLogin": { | |
"post": { | |
"tags": ["system"], | |
"summary": "陈炜本地的登录接口", | |
"operationId": "easyLogin", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "easyLogin" | |
}, | |
"/api/uama/getAppToken": { | |
"get": { | |
"description": "根据绿谩的ticket获取token", | |
"operationId": "getTokenByTicket", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "ticket", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TokenByTicket" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getTokenByTicket" | |
}, | |
"/api/uama/menu/getMenuByPage": { | |
"get": { | |
"description": "获取项目下拉列表", | |
"operationId": "getMenuByPage", | |
"tags": ["system"], | |
"parameters": [ | |
{ | |
"name": "pageId", | |
"description": "从路由获取的令牌", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MenuByPageData" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getMenuByPage" | |
}, | |
"/api/uama/community/selectList": { | |
"get": { | |
"description": "获取小区下拉列表", | |
"operationId": "getSelectList", | |
"tags": ["community"], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunitySelectList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSelectList" | |
}, | |
"/api/uama/community/getCommunityUser": { | |
"get": { | |
"description": "获取小区下人员列表", | |
"operationId": "getCommunityUser", | |
"tags": ["community"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"TokenByTicket": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"MenuByPageDataItem": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "按钮code" | |
}, | |
"name": { | |
"type": "string", | |
"description": "按钮菜单名称" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isSelected": { | |
"type": "integer", | |
"format": "int32", | |
"description": "当前用户是否有权限,1有权限,0无权限" | |
}, | |
"menuType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,3表示按钮" | |
}, | |
"roleType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "1查看,2新增,3编辑,4导出,5其他" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"MenuByPageData": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MenuByPageDataItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunitySelectListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "小区名称" | |
} | |
} | |
}, | |
"CommunitySelectList": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunitySelectListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"loginName": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"headPicName": { | |
"type": "string" | |
}, | |
"nickName": { | |
"type": "string" | |
}, | |
"userType": { | |
"type": "integer", | |
"format": "int32", | |
"description": "100平台,101小区,102租户" | |
}, | |
"orgId": { | |
"type": "string" | |
}, | |
"userOrganization": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"info": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
} | |
} | |
} |
{"version":1,"resource":"file:///e%3A/LakeCloud/uama-h5/config/stockMgmt.json","entries":[{"id":"bTS9.json","timestamp":1654742842000},{"id":"BFfu.json","timestamp":1654742874000},{"id":"0mx0.json","timestamp":1654743136000},{"id":"Mzlz.json","timestamp":1654744686000},{"id":"byM5.json","timestamp":1654745374000},{"id":"Iq3K.json","timestamp":1654749220000},{"id":"wjJ2.json","timestamp":1654765256000},{"id":"ZZ2k.json","timestamp":1654765348000},{"id":"a8jz.json","timestamp":1654829780000},{"id":"TnRb.json","timestamp":1654830044000},{"id":"KM00.json","timestamp":1654835806000},{"id":"8Mgp.json","timestamp":1654835830000},{"id":"J1pR.json","source":"undoRedo.source","timestamp":1654838228000},{"id":"aLgo.json","timestamp":1654838498000},{"id":"5E6V.json","timestamp":1655090272000},{"id":"0d58.json","timestamp":1655096620000},{"id":"w6IE.json","timestamp":1655096888000},{"id":"HSOW.json","timestamp":1655096908000},{"id":"x5NX.json","timestamp":1655098030000},{"id":"uNRf.json","timestamp":1655100280000},{"id":"yo5c.json","timestamp":1655274372000}]} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"api/uama/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"DepotListByPinyinItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "名称" | |
}, | |
"pinyin": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyin": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotListByPinyinItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListData": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListData" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"api/uama/app/stock/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"DepotsPinyinItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "名称" | |
}, | |
"pinyin": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyinItem": { | |
"properties": { | |
"depots": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotsPinyinItem" | |
} | |
}, | |
"pinyin": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyin": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotListByPinyinItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"api/uama/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"DepotListByPinyinItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "名称" | |
}, | |
"pinyin": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyin": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotListByPinyinItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": [ | |
"stock" | |
], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"api/uama/app/stock/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": [ | |
"stock" | |
], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"DepotListByPinyinItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "名称" | |
}, | |
"pinyin": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyin": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotListByPinyinItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/depot/getList": { | |
"get": { | |
"description": "仓库列表", | |
"operationId": "getStockDepotList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"/api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/api/uama/app/stock/depotShelves/getPageList": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotShelvesPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotId", | |
"in": "query", | |
"description": "仓库ID", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotShelvesPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotShelvesPageList" | |
}, | |
"/api/uama/app/stock/depot/getListByPinyin": { | |
"get": { | |
"description": "货架分页列表", | |
"operationId": "getDepotListByPinyin", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "pinyin", | |
"in": "query", | |
"description": "拼音首字母", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/DepotListByPinyin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getDepotListByPinyin" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"StockDepotListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockDepotList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotListItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
}, | |
"DepotShelvesPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"code": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"floor": { | |
"type": "string", | |
"description": "货架层数" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 正常 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotShelvesPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotShelvesPageListItem" | |
} | |
} | |
} | |
}, | |
"DepotShelvesPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/DepotShelvesPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"DepotsPinyinItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string", | |
"description": "小区ID" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "名称" | |
}, | |
"pinyin": { | |
"type": "string" | |
}, | |
"addr": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyinItem": { | |
"properties": { | |
"depots": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotsPinyinItem" | |
} | |
}, | |
"pinyin": { | |
"type": "string" | |
} | |
} | |
}, | |
"DepotListByPinyin": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/DepotListByPinyinItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "绿谩提供 API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:7711/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/uama/app/stock/depot/getPageList": { | |
"get": { | |
"description": "仓库分页列表", | |
"operationId": "getStockDepotPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockDepotPageList" | |
}, | |
"/api/uama/app/stock/getCommunityUser": { | |
"get": { | |
"description": "物业人员列表(领用人)", | |
"operationId": "getCommunityUser", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "username", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUser" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUser" | |
}, | |
"/api/uama/app/stock/getOrders": { | |
"get": { | |
"description": "获取工单列表", | |
"operationId": "getStockOrders", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "code", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockOrders" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockOrders" | |
}, | |
"/api/uama/app/stock/goods/getPageList": { | |
"get": { | |
"description": "物品分页列表", | |
"operationId": "getGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "物品名称名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GoodsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getGoodsPageList" | |
}, | |
"/api/uama/app/stock/inBound": { | |
"post": { | |
"tags": ["stock"], | |
"operationId": "inBoundStock", | |
"requestBody": { | |
"description": "物品入库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"$ref": "#/components/schemas/UpdateStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "inBoundStock" | |
}, | |
"/api/uama/app/stock/outBound": { | |
"post": { | |
"tags": ["stock"], | |
"summary": "物品出库", | |
"operationId": "outBoundStock", | |
"requestBody": { | |
"description": "物品出库", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OutBoundStockParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "outBoundStock" | |
}, | |
"api/uama/app/stock/stockGoods/getPageList": { | |
"get": { | |
"description": "库存物品分页列表", | |
"operationId": "getStockGoodsPageList", | |
"tags": ["stock"], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communities", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "小区Id", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "小区名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "depotName", | |
"in": "query", | |
"description": "仓库名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "goodsName", | |
"in": "query", | |
"description": "物品名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "operators", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "shelvesCode", | |
"in": "query", | |
"description": "存放位置", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "regionIds", | |
"in": "query", | |
"description": "租户IDS", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "状态:1 开启 2 关闭", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "userType", | |
"in": "query", | |
"description": "100平台,101小区,102租户", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/StockDepotPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getStockGoodsPageList" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"ErrorResponse": { | |
"required": ["errorCode"], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"StockDepotPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"goodsName": { | |
"type": "string", | |
"description": "物品名称" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"depotName": { | |
"type": "string" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"shelvesCode": { | |
"type": "string", | |
"description": "货架编号" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "string", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
}, | |
"createUser": { | |
"type": "string", | |
"description": "经办人" | |
} | |
} | |
}, | |
"StockDepotPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/StockDepotPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"StockDepotPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockDepotPageListItem" | |
} | |
} | |
} | |
}, | |
"CommunityUsersItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"mobileNum": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
} | |
} | |
}, | |
"CommunityUser": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUsersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"StockOrdersItem": { | |
"type": "object", | |
"properties": { | |
"orderId": { | |
"type": "string" | |
}, | |
"orderSerialNumber": { | |
"type": "string", | |
"description": "工单编号" | |
} | |
} | |
}, | |
"StockOrders": { | |
"required": ["code", "success", "message", "data"], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockOrdersItem" | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"GoodsPageListItem": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态:1 开启 2 关闭" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"regionId": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"regionName": { | |
"type": "string", | |
"description": "区域名称" | |
} | |
} | |
}, | |
"GoodsPageListData": { | |
"properties": { | |
"extra": { | |
"type": "string" | |
}, | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/StockPageListItem" | |
} | |
} | |
} | |
}, | |
"GoodsPageList": { | |
"required": ["code", "success", "message", "data"], | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/GoodsPageListData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
}, | |
"UpdateStockParams": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "物品类型 0保洁类 1保绿类 2客服类 3工程类 4安保类" | |
}, | |
"goodsId": { | |
"type": "string", | |
"description": "物品ID" | |
}, | |
"depotId": { | |
"type": "string", | |
"description": "仓库ID" | |
}, | |
"shelvesId": { | |
"type": "string", | |
"description": "存放的货架位置" | |
}, | |
"format": { | |
"type": "string", | |
"description": "规格型号" | |
}, | |
"counts": { | |
"type": "integer", | |
"format": "int32", | |
"description": "操作数量" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"GoodsInfosItem": { | |
"properties": { | |
"goodsInfos": { | |
"type": "string", | |
"description": "库存ID" | |
}, | |
"count": { | |
"type": "integer", | |
"format": "int32", | |
"description": "数量" | |
}, | |
"remark": { | |
"type": "string" | |
} | |
} | |
}, | |
"PickUserInfoVo": { | |
"properties": { | |
"pickUser": { | |
"type": "string", | |
"description": "领用人" | |
}, | |
"orderCode": { | |
"type": "string", | |
"description": "工单编号" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "是否库存调拨:0 否 1 是" | |
} | |
} | |
}, | |
"OutBoundStockParams": { | |
"properties": { | |
"goodsInfos": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/GoodsInfosItem" | |
} | |
}, | |
"pickUserInfoVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/PickUserInfoVo" | |
} | |
} | |
} | |
} | |
} | |
} |
{"version":1,"resource":"file:///e%3A/tauri-app/src/App.tsx","entries":[{"id":"ePeG.tsx","source":"undoRedo.source","timestamp":1648990440000},{"id":"1BDt.tsx","timestamp":1648990566000},{"id":"u8hL.tsx","timestamp":1648990740000},{"id":"5WdL.tsx","timestamp":1648990758000},{"id":"pJ4E.tsx","timestamp":1648993096000},{"id":"9TjP.tsx","timestamp":1648993158000},{"id":"hGvh.tsx","timestamp":1648993230000},{"id":"UsPL.tsx","timestamp":1648993628000},{"id":"gssV.tsx","timestamp":1648994916000},{"id":"7hrw.tsx","timestamp":1648994940000},{"id":"lWUr.tsx","source":"undoRedo.source","timestamp":1648994964000},{"id":"NKod.tsx","timestamp":1648995268000},{"id":"TrNg.tsx","timestamp":1648995376000},{"id":"0i4j.tsx","timestamp":1648995482000},{"id":"3w9I.tsx","source":"Infer parameter types from usage","timestamp":1648995494000},{"id":"StEK.tsx","source":"Infer parameter types from usage","timestamp":1648995566000},{"id":"9Q9i.tsx","timestamp":1648995632000},{"id":"6cUW.tsx","source":"undoRedo.source","timestamp":1648995664000}]} |
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Smart Community API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:37775/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/system/easyLogin": { | |
"post": { | |
"tags": [ | |
"system" | |
], | |
"summary": "陈炜本地的登录接口", | |
"operationId": "easyLogin", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "easyLogin" | |
}, | |
"/api/system/sf/logout": { | |
"post": { | |
"description": "登录接口", | |
"operationId": "systemOutLogin", | |
"tags": [ | |
"system" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "systemOutLogin" | |
}, | |
"/api/system/getSysUserInfo": { | |
"get": { | |
"tags": [ | |
"system" | |
], | |
"description": "根据 token 获取系统登录用户信息", | |
"operationId": "getSysUserInfo", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserInfo" | |
}, | |
"/api/system/enterprise/getPageList": { | |
"get": { | |
"tags": [ | |
"enterprise" | |
], | |
"description": "根据 token 获取系统登录用户信息", | |
"operationId": "getEnterprisePageList", | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "areaAry", | |
"in": "query", | |
"description": "搜索多个区域", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "areas", | |
"in": "query", | |
"description": "暂时不知道干嘛用!", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterprisePageList" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseList" | |
}, | |
"/api/system/enterprise/delete/{id}": { | |
"post": { | |
"description": "删除企业", | |
"operationId": "deleteEnterpriseItem", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseDeleteById" | |
}, | |
"/api/system/enterprise/info/{id}": { | |
"get": { | |
"description": "企业详情", | |
"operationId": "detailEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterpriseDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseDetailById" | |
}, | |
"/api/system/enterprise/add": { | |
"post": { | |
"description": "新增企业", | |
"operationId": "addEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddEnterprise" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseAdd" | |
}, | |
"/api/system/enterprise/update": { | |
"post": { | |
"description": "编辑企业", | |
"operationId": "updateEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddEnterprise" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseUpdate" | |
}, | |
"/api/system/enterprise/getList": { | |
"get": { | |
"description": "获取企业名称列表", | |
"operationId": "getEnterpriseOptions", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterpriseOptions" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseOptions" | |
}, | |
"/api/system/enterprise/getBindPermissionIds/{epId}": { | |
"get": { | |
"description": "获取企业绑定的菜单IDS", | |
"operationId": "getEnterpriseBindPermissionIds", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPermissionMenuTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getEnterpriseBindPermissionIds" | |
}, | |
"/api/system/enterprise/bindPermission/{epId}": { | |
"post": { | |
"description": "企业绑定菜单", | |
"operationId": "bindPermissionToEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindPermissionToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindPermissionToEnterprise" | |
}, | |
"/api/system/sysOrg/tree": { | |
"get": { | |
"description": "获取组织架构树", | |
"operationId": "getSysOrgTree", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业名称Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOrgTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysOrgTree" | |
}, | |
"/api/system/sysOrg/add": { | |
"post": { | |
"description": "新增组织树", | |
"operationId": "addSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysOrg" | |
}, | |
"/api/system/sysOrg/delete/{id}": { | |
"post": { | |
"description": "删除组织", | |
"operationId": "deleteSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysOrg" | |
}, | |
"/api/system/sysOrg/update": { | |
"post": { | |
"description": "修改组织", | |
"operationId": "updateSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysOrg" | |
}, | |
"/api/system/sysOrg/info/{id}": { | |
"get": { | |
"description": "组织详情", | |
"operationId": "detailSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOrgDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysOrg" | |
}, | |
"/api/system/sysRole/getPageList": { | |
"get": { | |
"description": "获取系统角色分页列表", | |
"operationId": "getSysRolePageList", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业名称Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRolePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysRolePageList" | |
}, | |
"/api/system/sysRole/bindUsers": { | |
"post": { | |
"description": "角色绑定用户", | |
"operationId": "bindUsersToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindUsersToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindUsersToSysRole" | |
}, | |
"/api/system/sysRole/unBindUsers": { | |
"post": { | |
"description": "角色解绑用户", | |
"operationId": "unBindUsersToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindUsersToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "unBindUsersToSysRole" | |
}, | |
"/api/system/sysRole/add": { | |
"post": { | |
"description": "新增组织树", | |
"operationId": "addSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysRole" | |
}, | |
"/api/system/sysRole/delete/{id}": { | |
"post": { | |
"description": "删除组织", | |
"operationId": "deleteSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysRole" | |
}, | |
"/api/system/sysRole/info/{id}": { | |
"get": { | |
"description": "获取系统角色详情", | |
"operationId": "detailSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRoleDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysRoleDetailById" | |
}, | |
"/api/system/sysRole/update": { | |
"post": { | |
"description": "修改组织", | |
"operationId": "updateSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysRole" | |
}, | |
"/api/system/sysRole/bindPermission/{roleId}": { | |
"post": { | |
"description": "角色绑定菜单", | |
"operationId": "bindPermissionToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "roleId", | |
"in": "path", | |
"description": "角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindPermissionToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindPermissionToSysRole" | |
}, | |
"/api/system/sysRole/getBindPermissionIds/{roleId}": { | |
"get": { | |
"description": "获取系统角色详情", | |
"operationId": "getBindPermissionIds", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "roleId", | |
"in": "path", | |
"description": "角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GetBindPermissionIds" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getBindPermissionIdsByRoleId" | |
}, | |
"/api/system/sysUser/updatePassword": { | |
"post": { | |
"description": "修改密码用户密码", | |
"operationId": "updatePassword", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UpdateUserPassword" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updatePassword" | |
}, | |
"/api/system/sysUser/getPageList": { | |
"get": { | |
"description": "员工管理分页列表,这是个统一接口 -> 系统用户分页列表,根据type类型获取不同得列表值", | |
"operationId": "getSysUserPageList", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserPageList" | |
}, | |
"/api/system/sysUser/getPlatformPageList": { | |
"get": { | |
"description": "平台端员工管理分页列表,根据type类型获取不同得列表值", | |
"operationId": "getSysUserPlatformPageList", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserPlatformPageList" | |
}, | |
"/api/system/sysUser/resetPassword": { | |
"post": { | |
"description": "管理员重置用户密码", | |
"operationId": "resetPasswordSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "用户id" | |
} | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "resetPasswordSysUser" | |
}, | |
"/api/system/sysUser/import": { | |
"post": { | |
"description": "导入员工数据", | |
"operationId": "importSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "importSysUser" | |
}, | |
"/api/system/sysUser/template": { | |
"post": { | |
"description": "下载用户导入模板", | |
"operationId": "templateSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "templateSysUser" | |
}, | |
"/api/system/sysUser/export": { | |
"post": { | |
"description": "导出员工", | |
"operationId": "exportSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "exportSysUser" | |
}, | |
"/api/system/sysUser/add": { | |
"post": { | |
"description": "新增员工", | |
"operationId": "addSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysUser" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysUser" | |
}, | |
"/api/system/sysUser/delete/{id}": { | |
"post": { | |
"description": "删除用户", | |
"operationId": "deleteSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "用户ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysUser" | |
}, | |
"/api/system/sysUser/info/{id}": { | |
"get": { | |
"description": "获取系统用户详情", | |
"operationId": "detailSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "用户ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysUserById" | |
}, | |
"/api/system/sysUser/update": { | |
"post": { | |
"description": "修改系统用户", | |
"operationId": "updateSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysUser" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysUser" | |
}, | |
"/api/system/sysToDo/getPageList": { | |
"get": { | |
"description": "待办管理分页列表", | |
"operationId": "getSysToDoPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysToDoPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysToDoPageList" | |
}, | |
"/api/system/sysRecentContacts/getPageList": { | |
"get": { | |
"description": "最近联系人分页列表", | |
"operationId": "getSysRecentContactsPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRecentContactsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysRecentContactsPageList" | |
}, | |
"/api/system/sysNotice/getPageList": { | |
"get": { | |
"description": "通知公告分页列表", | |
"operationId": "getSysNoticePageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysNoticePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysNoticePageList" | |
}, | |
"/api/system/sysUser/getOnlinePageList": { | |
"get": { | |
"description": "在线用户分页列表", | |
"operationId": "getOnlinePageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getOnlinePageList" | |
}, | |
"/api/system/offline": { | |
"post": { | |
"description": "强制退出", | |
"operationId": "forcedUserOffline", | |
"tags": [ | |
"system" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ForcedUserOffline" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "forcedUserOffline" | |
}, | |
"/api/system/sysOperationLog/getPageList": { | |
"get": { | |
"description": "在线用户分页列表", | |
"operationId": "getSysOperationLogPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "beginTime", | |
"in": "query", | |
"description": "开始时间", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "endTime", | |
"in": "query", | |
"description": "结束时间", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "methodName", | |
"in": "query", | |
"description": "方法名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "module", | |
"in": "query", | |
"description": "模块名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "requestMethod", | |
"in": "query", | |
"description": "请求方式,GET/POST", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "success", | |
"in": "query", | |
"description": "false:失败,true:成功", | |
"schema": { | |
"type": "boolean" | |
} | |
}, | |
{ | |
"name": "userName", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOperationLogPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysOperationLogPageList" | |
}, | |
"/api/system/sysPermission/getMenuTree": { | |
"get": { | |
"description": "获取系统用户详情", | |
"operationId": "getSysPermissionMenuTree", | |
"tags": [ | |
"sysPermission" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPermissionMenuTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysPermissionMenuTree" | |
}, | |
"/api/system/sysPermission/add": { | |
"post": { | |
"description": "新增系统菜单", | |
"operationId": "addSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPermission" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysPermission" | |
}, | |
"/api/system/sysPermission/delete/{id}": { | |
"post": { | |
"description": "删除系统菜单", | |
"operationId": "deleteSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "系统菜单ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysPermission" | |
}, | |
"/api/system/sysPermission/update": { | |
"post": { | |
"description": "修改系统菜单", | |
"operationId": "updateSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPermission" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysPermission" | |
}, | |
"/api/system/sysRole/getList": { | |
"get": { | |
"description": "获取系统角色选择列表", | |
"operationId": "getListSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRoleList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getListSysRole" | |
}, | |
"/api/system/sysPost/getList": { | |
"get": { | |
"description": "获取系统岗位选择列表", | |
"operationId": "getListSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getListSysPost" | |
}, | |
"/api/system/sysPost/getPageList": { | |
"get": { | |
"description": "获取系统岗位分页列表", | |
"operationId": "getPageListSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "code", | |
"in": "query", | |
"description": "岗位编码", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "岗位名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "岗位状态,0:禁用,1:启用", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getPageListSysPost" | |
}, | |
"/api/system/sysPost/add": { | |
"post": { | |
"description": "新增岗位", | |
"operationId": "addSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPost" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysPost" | |
}, | |
"/api/system/sysPost/delete/{id}": { | |
"post": { | |
"description": "删除系统岗位", | |
"operationId": "deleteSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "系统岗位ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysPost" | |
}, | |
"/api/system/sysPost/info/{id}": { | |
"get": { | |
"description": "系统岗位详情", | |
"operationId": "detailSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "岗位ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysPostById" | |
}, | |
"/api/system/sysPost/update": { | |
"post": { | |
"description": "修改系统岗位", | |
"operationId": "updateSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPost" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysPost" | |
}, | |
"/api/system/subSystem/getPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getSubSystemPageList", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SubSystemPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "subSystemPageList" | |
}, | |
"/api/system/subSystem/add": { | |
"post": { | |
"description": "新增子系统", | |
"operationId": "addSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSubSystem" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSubSystem" | |
}, | |
"/api/system/subSystem/info/{id}": { | |
"get": { | |
"description": "子系统详情", | |
"operationId": "detailSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "子系统ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SubSystemDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSubSystemById" | |
}, | |
"/api/system/subSystem/delete/{id}": { | |
"post": { | |
"description": "删除子系统", | |
"operationId": "deleteSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "子系统ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSubSystem" | |
}, | |
"/api/system/subSystem/update": { | |
"post": { | |
"description": "修改子系统", | |
"operationId": "updateSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSubSystem" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSubSystem" | |
}, | |
"/api/system/pageStyle/getPageList": { | |
"get": { | |
"description": "门户页面分页列表", | |
"operationId": "getPageStylePageList", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "样式名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PageStylePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "pageStylePageList" | |
}, | |
"/api/system/sysCommunity/getPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getProjectInfoPageList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "areaId", | |
"in": "query", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "code", | |
"in": "query", | |
"description": "项目编码", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysCommunityPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysCommunityPageList" | |
}, | |
"/api/system/sysCommunity/getSysAreaCommunityList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getSysAreaCommunityList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaCommunityList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysAreaCommunityList" | |
}, | |
"/api/system/sysCommunity/charge": { | |
"post": { | |
"description": "员工管理列表--负责项目", | |
"operationId": "addChargeSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddChargeSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addChargeSysCommunity" | |
}, | |
"/api/system/sysArea/tree": { | |
"get": { | |
"description": "项目信息列表左侧的区域树", | |
"operationId": "getSysAreaTree", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysAreaTree" | |
}, | |
"/api/system/sysDict/detail": { | |
"get": { | |
"description": "获取项目类型, 根据 name 获取不同的类型,暂时只有一个 COMMUNITY_ATTRIBUTE", | |
"operationId": "getSysDictDetailByName", | |
"tags": [ | |
"sysDict" | |
], | |
"parameters": [ | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "项目类型暂时只有一个 COMMUNITY_ATTRIBUTE", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysDictDetailByName" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysDictDetailByName" | |
}, | |
"/api/system/sysCommunity/add": { | |
"post": { | |
"description": "新增项目", | |
"operationId": "addSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysCommunity" | |
}, | |
"/api/system/sysCommunity/delete/{id}": { | |
"post": { | |
"description": "删除项目信息", | |
"operationId": "deleteSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "项目信息ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysCommunity" | |
}, | |
"/api/system/sysCommunity/info/{id}": { | |
"get": { | |
"description": "项目信息详情", | |
"operationId": "detailSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "项目ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysCommunityDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysCommunity" | |
}, | |
"/api/system/sysCommunity/update": { | |
"post": { | |
"description": "修改项目", | |
"operationId": "updateSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysCommunity" | |
}, | |
"/api/system/sysCommunity/getCommunityUserPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getCommunityUserPageList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "项目ID", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUserPageList" | |
}, | |
"/api/system/sysCommunity/unbind": { | |
"post": { | |
"description": "项目信息员工列表-解绑用户", | |
"operationId": "unbindSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UnbindSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "unbindSysCommunity" | |
}, | |
"/api/system/sysCommunity/bind": { | |
"post": { | |
"description": "项目信息员工列表-绑定用户", | |
"operationId": "bindSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UnbindSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindSysCommunity" | |
}, | |
"/api/system/sysArea/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysArea" | |
}, | |
"/api/system/sysArea/delete/{id}": { | |
"post": { | |
"description": "删除区域", | |
"operationId": "deleteSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysArea" | |
}, | |
"/api/system/sysArea/info/{id}": { | |
"get": { | |
"description": "区域详情", | |
"operationId": "detailSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysArea" | |
}, | |
"/api/system/sysArea/update": { | |
"post": { | |
"description": "修改区域", | |
"operationId": "updateSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysArea" | |
}, | |
"/api/system/pageStyle/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addPageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddPageStyle" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addPageStyle" | |
}, | |
"/api/system/pageStyle/update": { | |
"post": { | |
"description": "修改区域", | |
"operationId": "updatePageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updatePageStyle" | |
}, | |
"/api/system/pageStyle/info/{id}": { | |
"get": { | |
"description": "门户页面详情", | |
"operationId": "detailPageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "门户页面ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PageStyleDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailPageStyle" | |
}, | |
"/api/system/pageStyle/delete/{id}": { | |
"post": { | |
"description": "删除门户页面", | |
"operationId": "deletePageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "门户页面ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deletePageStyle" | |
}, | |
"/api/system/releaseRecord/getPageList": { | |
"get": { | |
"description": "版本更新记录表分页列表", | |
"operationId": "getReleaseRecordPageList", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "项目ID", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ReleaseRecordPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getReleaseRecordPageList" | |
}, | |
"/api/system/releaseRecord/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddReleaseRecord" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addReleaseRecord" | |
}, | |
"/api/system/releaseRecord/info/{id}": { | |
"get": { | |
"description": "门户页面详情", | |
"operationId": "detailReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "版本ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ReleaseRecordDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailReleaseRecord" | |
}, | |
"/api/system/releaseRecord/update": { | |
"post": { | |
"description": "修改版本更新记录表", | |
"operationId": "updateReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddReleaseRecord" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateReleaseRecord" | |
}, | |
"/api/system/releaseRecord/delete/{id}": { | |
"post": { | |
"description": "删除门户页面", | |
"operationId": "deleteReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "版本ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteReleaseRecord" | |
}, | |
"/api/system/issueFeedback/getPageList": { | |
"get": { | |
"description": "系统问题反馈分页列表", | |
"operationId": "getIssueFeedbackPageList", | |
"tags": [ | |
"issueFeedback" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/IssueFeedbackPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getIssueFeedbackPageList" | |
}, | |
"/api/system/issueFeedback/delete/{id}": { | |
"post": { | |
"description": "删除系统问题", | |
"operationId": "deleteIssueFeedback", | |
"tags": [ | |
"issueFeedback" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "问题ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteIssueFeedback" | |
}, | |
"/api/system/issueFeedback/export": { | |
"post": { | |
"description": "导出问题反馈列表数据", | |
"operationId": "exportIssueFeedback", | |
"tags": [ | |
"issueFeedback" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "exportIssueFeedback" | |
}, | |
"/api/currentUser": { | |
"get": { | |
"tags": [ | |
"api" | |
], | |
"description": "获取当前的用户", | |
"operationId": "currentUser", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CurrentUser" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/login/captcha": { | |
"post": { | |
"description": "发送验证码", | |
"operationId": "getFakeCaptcha", | |
"tags": [ | |
"login" | |
], | |
"parameters": [ | |
{ | |
"name": "phone", | |
"in": "query", | |
"description": "手机号", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/FakeCaptcha" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/login/outLogin": { | |
"post": { | |
"description": "登录接口", | |
"operationId": "outLogin", | |
"tags": [ | |
"login" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/login/account": { | |
"post": { | |
"tags": [ | |
"login" | |
], | |
"description": "登录接口", | |
"operationId": "login", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/notices": { | |
"summary": "getNotices", | |
"description": "NoticeIconItem", | |
"get": { | |
"tags": [ | |
"api" | |
], | |
"operationId": "getNotices", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoticeIconList" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/rule": { | |
"get": { | |
"tags": [ | |
"rule" | |
], | |
"description": "获取规则列表", | |
"operationId": "rule", | |
"parameters": [ | |
{ | |
"name": "current", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleList" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"rule" | |
], | |
"description": "新建规则", | |
"operationId": "addRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleListItem" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"rule" | |
], | |
"description": "新建规则", | |
"operationId": "updateRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleListItem" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"rule" | |
], | |
"description": "删除规则", | |
"operationId": "removeRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginParams": { | |
"required": [ | |
"username", | |
"password" | |
], | |
"type": "object", | |
"properties": { | |
"username": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
}, | |
"autoLogin": { | |
"type": "boolean" | |
}, | |
"verifyToken": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"deviceNo": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginResultData": { | |
"type": "object", | |
"properties": { | |
"token": { | |
"type": "string", | |
"required": false | |
}, | |
"loginSysUserVo": { | |
"type": "object", | |
"required": false, | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int64" | |
}, | |
"version": { | |
"type": "string", | |
"description": "版本号" | |
}, | |
"deviceNo": { | |
"type": "string", | |
"description": "绑定设备编号" | |
}, | |
"username": { | |
"type": "string", | |
"description": "用户名" | |
}, | |
"nickname": { | |
"type": "string", | |
"description": "昵称" | |
}, | |
"phone": { | |
"type": "string", | |
"description": "联系方式" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32", | |
"description": "性别,0:女,1:男,默认1" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用,2:锁定" | |
}, | |
"tenantId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "组织架构id" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int64", | |
"description": "角色id" | |
}, | |
"roleName": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"roleCode": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"permissions": { | |
"type": "array", | |
"item": { | |
"$ref": "#/components/schemas/SysPermissionMenuTreeItem" | |
}, | |
"description": "权限编码列表" | |
}, | |
"type": { | |
"type": "string", | |
"description": "用户类型 :platform_manager 平台系统管理员 、 business_manager 物业公司 业务管理员、 business_personnel 业务人员" | |
}, | |
"openId": { | |
"type": "string", | |
"description": "微信openId" | |
} | |
} | |
}, | |
"status": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"currentAuthority": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/LoginResultData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"departmentName": { | |
"type": "string" | |
}, | |
"groupId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"groupName": { | |
"type": "string" | |
}, | |
"deviceNo": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"tenantName": { | |
"type": "string" | |
}, | |
"projectNames": { | |
"type": "array" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"organizations": { | |
"type": "array" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"unreadCount": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"EnterpriseAccessory": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"path": { | |
"type": "string" | |
}, | |
"accName": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"foreignKey": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"bucketName": { | |
"type": "string" | |
}, | |
"downloadUrl": { | |
"type": "string", | |
"description": "企业LOGO" | |
}, | |
"deleteState": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"phaseId": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"EnterprisePageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epCode": { | |
"type": "string", | |
"description": "企业编码(唯一)" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
}, | |
"epDesc": { | |
"type": "string", | |
"description": "企业简称" | |
}, | |
"legal": { | |
"type": "string", | |
"description": "企业法人" | |
}, | |
"legalPhone": { | |
"type": "string", | |
"description": "企业法人联系电话" | |
}, | |
"epAdmin": { | |
"type": "string", | |
"description": "企业管理员账号" | |
}, | |
"epNickName": { | |
"type": "string", | |
"description": "企业管理员昵称" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32", | |
"description": "0-未删除 1-已删除" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态(0-未启用 1-启用)" | |
}, | |
"accessory": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"EnterprisePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/EnterprisePageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"EnterprisePageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"origin": { | |
"type": "string" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"EnterpriseDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterprisePageListItem" | |
} | |
} | |
}, | |
"AddEnterprise": { | |
"required": [ | |
"epCode", | |
"epName", | |
"epDesc", | |
"epAdmin", | |
"epNickName", | |
"epPassword", | |
"passwordComfirm" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32", | |
"description": "修改时使用" | |
}, | |
"epCode": { | |
"type": "string", | |
"description": "企业编号" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
}, | |
"epDesc": { | |
"type": "string", | |
"description": "企业简称" | |
}, | |
"legal": { | |
"type": "string", | |
"description": "企业法人" | |
}, | |
"legalPhone": { | |
"type": "string", | |
"description": "法人联系电话" | |
}, | |
"epAdmin": { | |
"type": "string", | |
"description": "企业管理员账号" | |
}, | |
"epNickName": { | |
"type": "string", | |
"description": "企业管理员昵称" | |
}, | |
"epPassword": { | |
"type": "string", | |
"description": "企业管理员密码" | |
}, | |
"passwordComfirm": { | |
"type": "string", | |
"description": "确认密码" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传附件,公司LOGO图片等", | |
"properties": { | |
"accName": { | |
"type": "string" | |
}, | |
"path": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"EnterpriseOptionItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
} | |
} | |
}, | |
"EnterpriseOptions": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/EnterpriseOptionItem" | |
} | |
} | |
} | |
}, | |
"SysOrgTreeItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"charger": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"chargerName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"children": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysOrgTreeItem" | |
} | |
} | |
} | |
}, | |
"SysOrgTree": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysOrgTreeItem" | |
} | |
} | |
} | |
}, | |
"AddSysOrg": { | |
"required": [ | |
"code", | |
"name", | |
"epId", | |
"root" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"code": { | |
"type": "string", | |
"description": "组织编号" | |
}, | |
"name": { | |
"type": "string", | |
"description": "组织名称" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "所在组织的父级Id" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"charger": { | |
"type": "string", | |
"description": "责任人" | |
}, | |
"root": { | |
"type": "boolean", | |
"description": "是否是根级组织" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "组织状态(0禁用 1启用 )" | |
} | |
} | |
}, | |
"SysOrgDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"SysRolePageListItem": { | |
"type": "object", | |
"properties": { | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"permissionIds": { | |
"type": "array" | |
}, | |
"organizationIds": { | |
"type": "array" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "string" | |
}, | |
"isAdmin": { | |
"type": "boolean" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据权限范围,例如是本部门数据权限,还是其他数据权限" | |
} | |
} | |
}, | |
"SysRolePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRolePageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysRolePageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态,0:禁用,1:启用" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位)" | |
} | |
} | |
}, | |
"SysRoleDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysRolePageListItem" | |
} | |
} | |
}, | |
"AddSysRole": { | |
"required": [ | |
"code", | |
"name", | |
"type", | |
"epId" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色唯一编码" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态(0禁用 1启用 )" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据范围 1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限" | |
}, | |
"remark": { | |
"type": "boolean" | |
}, | |
"permissionIds": { | |
"type": "array", | |
"description": "角色权限" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"epName": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业名称" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"SysUserRoleItem": { | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"roleName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysRoleListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据范围 1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"permissionIds": { | |
"type": "array" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysRoleList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRoleListItem" | |
} | |
} | |
} | |
}, | |
"BindUsersToSysRole": { | |
"type": "object", | |
"properties": { | |
"userIds": { | |
"type": "array" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色ID" | |
} | |
} | |
}, | |
"SysPostListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "岗位名称" | |
}, | |
"code": { | |
"type": "string", | |
"description": "岗位唯一编码" | |
}, | |
"type": { | |
"type": "string", | |
"description": "岗位类型(enterprise_sys:企业岗位 platform:平台岗位 enterprise_det:租户岗位或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "岗位状态,0:禁用,1:启用" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysPostList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
} | |
}, | |
"SysPostPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysPostPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "岗位编码" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "岗位状态,0:禁用,1:启用" | |
}, | |
"type": { | |
"type": "string", | |
"description": "岗位类型(enterprise_sys:企业岗位 platform:平台岗位 enterprise_det:租户岗位或岗位" | |
} | |
} | |
}, | |
"AddSysPost": { | |
"required": [ | |
"name", | |
"epId" | |
], | |
"type": "object", | |
"$ref": "#/components/schemas/SysPostListItem" | |
}, | |
"SysPostDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
}, | |
"SysUserPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"businessOrigin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"requestNo": { | |
"type": "string" | |
}, | |
"roleName": { | |
"type": "string" | |
}, | |
"ip": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"area": { | |
"type": "string" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"browserInfo": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"jobNumber": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysUserRoleItem" | |
} | |
}, | |
"organizations": { | |
"type": "array" | |
}, | |
"posts": { | |
"type": "array" | |
}, | |
"orgNameConcat": { | |
"type": "string" | |
}, | |
"communityName": { | |
"type": "string", | |
"description": "项目名称" | |
}, | |
"lastLoginTime": { | |
"type": "string" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "员工图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SysUserDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserPageListItem" | |
} | |
} | |
}, | |
"SysToDoPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"title": { | |
"type": "string", | |
"description": "待办标题" | |
}, | |
"content": { | |
"type": "string", | |
"description": "待办内容" | |
}, | |
"foreignKey": { | |
"type": "integer", | |
"description": "关联外键" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态0 待处理 1已处理" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"communityId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目ID" | |
} | |
} | |
}, | |
"SysToDoPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysToDoPageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysRecentContactsPosts": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "岗位名称" | |
} | |
} | |
}, | |
"ContactsFromUserVoAndToUserVo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "string" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业Id" | |
}, | |
"posts": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRecentContactsPosts" | |
} | |
}, | |
"roleName": { | |
"type": "string", | |
"description": "角色" | |
}, | |
"organization": { | |
"type": "string", | |
"description": "部门" | |
} | |
} | |
}, | |
"SysRecentContactsPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"fromUserId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "消息发送人" | |
}, | |
"toUserId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "消息接收人" | |
}, | |
"msg": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态0未读 1已读" | |
}, | |
"fromUserVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/ContactsFromUserVoAndToUserVo" | |
}, | |
"toUserVo": { | |
"type": "object", | |
"$ref": "#/components/schemas/ContactsFromUserVoAndToUserVo" | |
} | |
} | |
}, | |
"SysRecentContactsPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRecentContactsPageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysNoticePageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"title": { | |
"type": "string", | |
"description": "通知公告标题" | |
}, | |
"content": { | |
"type": "string", | |
"description": "通知公告内容" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态0未读 1已读" | |
}, | |
"isTop": { | |
"type": "boolean", | |
"description": "是否置顶" | |
} | |
} | |
}, | |
"SysNoticePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysNoticePageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysUserPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysUserPageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysUserPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize", | |
"type" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"createTimeEnd": { | |
"type": "string" | |
}, | |
"createTimeStart": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"organizationId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态,0:禁用,1:启用, 2: 锁定" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位)" | |
}, | |
"username": { | |
"type": "string", | |
"description": "用户名" | |
} | |
} | |
}, | |
"AddSysUser": { | |
"required": [ | |
"code", | |
"name", | |
"epId", | |
"root" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
}, | |
"passwordComfirm": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用,2:锁定" | |
}, | |
"jobNumber": { | |
"type": "string", | |
"description": "员工工号" | |
}, | |
"roleIds": { | |
"type": "array", | |
"description": "角色ID集合" | |
}, | |
"postIds": { | |
"type": "array", | |
"description": "岗位ID集合" | |
}, | |
"organizationIds": { | |
"type": "array", | |
"description": "组织架构ID集合" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"browserInfo": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传项目的图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SysCommunityPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"charger": { | |
"type": "integer", | |
"format": "int32", | |
"description": "责任人编码" | |
}, | |
"chargerName": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目状态(0禁用 1启用 )" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"typeDesc": { | |
"type": "string" | |
}, | |
"areaId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"areaName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysCommunityPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysCommunityPageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysCommunityPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态,0:禁用,1:启用" | |
}, | |
"type": { | |
"type": "string", | |
"description": "调用后端接口 api/system/sysDict/detail?name=COMMUNITY_ATTRIBUTE 获取" | |
} | |
} | |
}, | |
"SysAreaCommunityListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"charger": { | |
"type": "integer", | |
"format": "int32", | |
"description": "责任人" | |
}, | |
"chargerName": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目状态(0禁用 1启用 )" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"typeDesc": { | |
"type": "string" | |
}, | |
"areaId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"areaName": { | |
"type": "string" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传项目的图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SysAreaCommunityList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysAreaCommunityListItem" | |
} | |
} | |
} | |
}, | |
"AddChargeSysCommunity": { | |
"required": [ | |
"userId", | |
"sysCommunityUsers" | |
], | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "员工的 ID" | |
}, | |
"sysCommunityUsers": { | |
"type": "object", | |
"description": "员工所负责项目的列表", | |
"properties": { | |
"communityId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"isDefault": { | |
"type": "boolean" | |
} | |
} | |
} | |
} | |
}, | |
"SysAreaTreeItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"key": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"children": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysAreaTreeItem" | |
} | |
} | |
} | |
}, | |
"SysAreaTree": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysAreaTreeItem" | |
} | |
} | |
} | |
}, | |
"SysDictProjectTypesItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"label": { | |
"type": "string" | |
}, | |
"value": { | |
"type": "number" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"dictId": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"SysDictDetailByNameInfo": { | |
"type": "object", | |
"properties": { | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"items": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysDictProjectTypesItem" | |
} | |
} | |
} | |
}, | |
"SysDictDetailByName": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysDictDetailByNameInfo" | |
} | |
} | |
}, | |
"AddSysCommunity": { | |
"required": [ | |
"name", | |
"areaId", | |
"type", | |
"code", | |
"charger", | |
"epId" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目详情的Id,新增时不填,详情时使用" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "项目名称" | |
}, | |
"areaId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "区域ID" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目类型,通过接口动态获取" | |
}, | |
"code": { | |
"type": "string", | |
"description": "项目编号" | |
}, | |
"address": { | |
"type": "string", | |
"description": "项目地址" | |
}, | |
"remark": { | |
"type": "string", | |
"description": "备注" | |
}, | |
"charger": { | |
"type": "string", | |
"description": "责任人" | |
}, | |
"mobile": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目状态(0禁用 1启用 )" | |
}, | |
"landArea": { | |
"type": "string", | |
"description": "占地面积" | |
}, | |
"buildingArea": { | |
"type": "string", | |
"description": "建筑面积" | |
}, | |
"greeningArea": { | |
"type": "string", | |
"description": "绿化面积" | |
}, | |
"volumeRate": { | |
"type": "string", | |
"description": "容积率" | |
}, | |
"buildYear": { | |
"type": "string", | |
"description": "建设年代" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传项目图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SysCommunityDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/AddSysCommunity" | |
} | |
} | |
}, | |
"CommunityUserPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"info": { | |
"type": "string" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string", | |
"description": "在这里当作姓名用" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32", | |
"description": "性别,0:女,1:男,默认1" | |
}, | |
"head": { | |
"type": "string", | |
"description": "头像" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"requestNo": { | |
"type": "string", | |
"description": "会话编号" | |
}, | |
"ip": { | |
"type": "string", | |
"description": "主机IP地址" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "0:禁用,1:启用,2:锁定" | |
}, | |
"area": { | |
"type": "string", | |
"description": "登录地点" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32", | |
"description": "逻辑删除,0:未删除,1:已删除" | |
}, | |
"browserInfo": { | |
"type": "string", | |
"description": "登录地点" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"orgNameConcat": { | |
"type": "string", | |
"description": "组织架构信息" | |
}, | |
"communityName": { | |
"type": "string", | |
"description": "项目名称" | |
}, | |
"lastLoginTime": { | |
"type": "string", | |
"description": "最后登录时间" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysUserRoleItem" | |
} | |
} | |
} | |
}, | |
"CommunityUserPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunityUserPageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"CommunityUserPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize", | |
"epId" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string", | |
"description": "列表搜索多个区域" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"communityName": { | |
"type": "string" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
} | |
} | |
}, | |
"UnbindSysCommunity": { | |
"type": "object", | |
"properties": { | |
"communityId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"userId": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"AddSysArea": { | |
"required": [ | |
"code", | |
"name", | |
"epId", | |
"root" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"code": { | |
"type": "string", | |
"description": "项目编号" | |
}, | |
"name": { | |
"type": "string", | |
"description": "项目名称" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "所在区域的父级Id" | |
}, | |
"root": { | |
"type": "boolean", | |
"description": "是否是根级区域" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目状态(0禁用 1启用 )" | |
} | |
} | |
}, | |
"SysAreaDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"SysPermissionMenuTreeItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"icon": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,1:菜单,2:按钮" | |
}, | |
"level": { | |
"type": "integer", | |
"format": "int32", | |
"description": "层级,1:第一级,2:第二级,N:第N级" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"hideChildrenInMenu": { | |
"type": "boolean", | |
"description": "用于隐藏不需要在菜单中展示的子路由" | |
}, | |
"hideInMenu": { | |
"type": "boolean", | |
"description": "可以在菜单中不展示这个路由,包括子路由" | |
}, | |
"hideInBreadcrumb": { | |
"type": "boolean", | |
"description": "可以在面包屑中不展示这个路由,包括子路由" | |
}, | |
"headerRender": { | |
"type": "boolean", | |
"description": "当前路由不展示顶栏" | |
}, | |
"footerRender": { | |
"type": "boolean", | |
"description": "当前路由不展示页脚" | |
}, | |
"menuRender": { | |
"type": "boolean", | |
"description": "当前路由不展示菜单" | |
}, | |
"menuHeaderRender": { | |
"type": "boolean", | |
"description": "当前路由不展示菜单顶栏" | |
}, | |
"flatMenu": { | |
"type": "boolean", | |
"description": "可以在面包屑中不展示这个路由,包括子路由" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "integer", | |
"format": "int32", | |
"description": "版本" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"redirect": { | |
"type": "string" | |
}, | |
"component": { | |
"type": "string" | |
}, | |
"children": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPermissionMenuTreeItem" | |
} | |
} | |
} | |
}, | |
"SysPermissionMenuTree": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPermissionMenuTreeItem" | |
} | |
} | |
} | |
}, | |
"SysPermissionNavMenuTree": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPermissionMenuTreeItem" | |
} | |
} | |
} | |
}, | |
"BindPermissionToSysRole": { | |
"type": "object", | |
"properties": { | |
"permissionIds": { | |
"type": "array" | |
} | |
} | |
}, | |
"SubSystemPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"icon": { | |
"type": "string" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "0:禁用,1:启用" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"accessory": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SubSystemPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SubSystemPageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"SubSystemPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"AddSubSystem": { | |
"required": [ | |
"name", | |
"epId", | |
"url", | |
"state" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32", | |
"description": "子系统Id,新增时不填,详情时使用" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"name": { | |
"type": "string", | |
"description": "子系统名称" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32", | |
"description": "子系统排序" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传子系统图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"SubSystemDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SubSystemPageListItem" | |
} | |
} | |
}, | |
"PageStylePageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "样式名称" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"pageHeadColor": { | |
"type": "string", | |
"description": "页头TOP颜色" | |
}, | |
"backgroundColor": { | |
"type": "string", | |
"description": "背景样式颜色" | |
}, | |
"fuctionColor": { | |
"type": "string", | |
"description": "功能区颜色" | |
}, | |
"menuSelectColor": { | |
"type": "string", | |
"description": "菜单选择颜色" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"sysLogoAcc": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
}, | |
"backgroundAcc": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"PageStylePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PageStylePageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"AddPageStyle": { | |
"required": [ | |
"name", | |
"epId" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "样式名称" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态,0:禁用,1:启用" | |
}, | |
"pageHeadColor": { | |
"type": "string", | |
"description": "页头TOP颜色" | |
}, | |
"backgroundColor": { | |
"type": "string", | |
"description": "背景样式颜色" | |
}, | |
"fuctionColor": { | |
"type": "string", | |
"description": "功能区颜色" | |
}, | |
"menuSelectColor": { | |
"type": "string", | |
"description": "菜单选择颜色" | |
}, | |
"sysLogoAcc": { | |
"type": "object", | |
"description": "系统LOGO图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
}, | |
"backgroundAcc": { | |
"type": "object", | |
"description": "背景图片", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"PageStyleDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/PageStylePageListItem" | |
} | |
} | |
}, | |
"GetBindPermissionIds": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array" | |
} | |
} | |
}, | |
"AddSysPermission": { | |
"required": [ | |
"name", | |
"type", | |
"url" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "菜单按钮名称" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "父级id" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"access": { | |
"type": "string", | |
"description": "使用权" | |
}, | |
"icon": { | |
"type": "string", | |
"description": "图标" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "类型,1:菜单,2:按钮" | |
}, | |
"level": { | |
"type": "integer", | |
"format": "int32", | |
"description": "层级,1:第一级,2:第二级,N:第N级" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32", | |
"description": "排序" | |
}, | |
"hideChildrenInMenu": { | |
"type": "boolean", | |
"description": "用于隐藏不需要在菜单中展示的子路由" | |
}, | |
"hideInMenu": { | |
"type": "boolean", | |
"description": "可以在菜单中不展示这个路由,包括子路由" | |
}, | |
"hideInBreadcrumb": { | |
"type": "boolean", | |
"description": "在面包屑中不展示这个路由,包括子路由" | |
}, | |
"headerRender": { | |
"type": "boolean", | |
"description": "当前路由不展示顶栏" | |
}, | |
"footerRender": { | |
"type": "boolean", | |
"description": "当前路由不展示页脚" | |
}, | |
"menuRender": { | |
"type": "boolean", | |
"description": "当前路由不展示菜单" | |
}, | |
"menuHeaderRender": { | |
"type": "boolean", | |
"description": "当前路由不展示菜单顶栏" | |
}, | |
"flatMenu": { | |
"type": "boolean", | |
"description": "子项往上提,只是不展示父菜单" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
} | |
} | |
}, | |
"ForcedUserOffline": { | |
"required": [ | |
"userId", | |
"token" | |
], | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"token": { | |
"type": "string" | |
}, | |
"businessOrigin": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysOperationLogPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"requestId": { | |
"type": "string", | |
"description": "请求ID" | |
}, | |
"userId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"userName": { | |
"type": "string", | |
"description": "日志名称" | |
}, | |
"ip": { | |
"type": "string" | |
}, | |
"area": { | |
"type": "string", | |
"description": "区域" | |
}, | |
"operator": { | |
"type": "string", | |
"description": "运营商" | |
}, | |
"path": { | |
"type": "string", | |
"description": "全路径" | |
}, | |
"module": { | |
"type": "string", | |
"description": "模块名称" | |
}, | |
"className": { | |
"type": "string", | |
"description": "类名" | |
}, | |
"methodName": { | |
"type": "string", | |
"description": "方法名称" | |
}, | |
"requestMethod": { | |
"type": "string", | |
"description": "请求方式,GET/POST" | |
}, | |
"contentType": { | |
"type": "string", | |
"description": "内容类型" | |
}, | |
"requestBody": { | |
"type": "boolean", | |
"description": "是否是JSON请求映射参数" | |
}, | |
"param": { | |
"type": "string", | |
"description": "请求参数" | |
}, | |
"token": { | |
"type": "string", | |
"description": "tokenMd5值" | |
}, | |
"type": { | |
"type": "integer", | |
"format": "int32", | |
"description": "0:其它,1:新增,2:修改,3:删除,4:详情查询,5:所有列表,6:分页列表,7:其它查询,8:上传文件" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"code": { | |
"type": "integer", | |
"format": "int32", | |
"description": "响应结果状态码" | |
}, | |
"message": { | |
"type": "string", | |
"description": "响应结果消息" | |
}, | |
"exceptionName": { | |
"type": "string", | |
"description": "异常类名称" | |
}, | |
"exceptionMessage": { | |
"type": "string", | |
"description": "异常信息" | |
}, | |
"browserName": { | |
"type": "string", | |
"description": "浏览器名称" | |
}, | |
"browserVersion": { | |
"type": "string", | |
"description": "浏览器版本" | |
}, | |
"engineName": { | |
"type": "string", | |
"description": "浏览器引擎名称" | |
}, | |
"engineVersion": { | |
"type": "string", | |
"description": "浏览器引擎版本" | |
}, | |
"osName": { | |
"type": "string", | |
"description": "系统名称" | |
}, | |
"platformName": { | |
"type": "string", | |
"description": "平台名称" | |
}, | |
"mobile": { | |
"type": "string", | |
"description": "是否是手机" | |
}, | |
"deviceName": { | |
"type": "string", | |
"description": "移动端设备名称" | |
}, | |
"deviceModel": { | |
"type": "string", | |
"description": "移动端设备型号" | |
}, | |
"remark": { | |
"type": "string", | |
"description": "备注" | |
}, | |
"createTime": { | |
"type": "string", | |
"description": "创建时间" | |
}, | |
"updateTime": { | |
"type": "string", | |
"description": "修改时间" | |
} | |
} | |
}, | |
"SysOperationLogPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysOperationLogPageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"SysOperationLogPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"beginTime": { | |
"type": "string" | |
}, | |
"endTime": { | |
"type": "string" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"module": { | |
"type": "string", | |
"description": "模块名称" | |
}, | |
"requestMethod": { | |
"type": "string", | |
"description": "请求方式,GET/POST" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "false:失败,true:成功" | |
}, | |
"methodName": { | |
"type": "string", | |
"description": "方法名称" | |
}, | |
"userName": { | |
"type": "string", | |
"description": "操作人" | |
} | |
} | |
}, | |
"ReleaseRecordPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"communityId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "项目ID" | |
}, | |
"communityName": { | |
"type": "string", | |
"description": "项目名称" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"ReleaseRecordPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "版本名称" | |
}, | |
"type": { | |
"type": "string", | |
"description": "app类型,'0',业主APP,'1',物业管理APP, '2',其他APP" | |
}, | |
"info": { | |
"type": "string", | |
"description": "app类型" | |
}, | |
"forceUpdate": { | |
"type": "string", | |
"description": "是否强制更新" | |
}, | |
"publicChannel": { | |
"type": "string", | |
"description": "发布渠道,'0',安卓,'1',IOS, '2',其他" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string", | |
"description": "修改时间" | |
} | |
} | |
}, | |
"ReleaseRecordPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ReleaseRecordPageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"AddReleaseRecord": { | |
"required": [ | |
"name", | |
"publicChannel" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "版本名称" | |
}, | |
"type": { | |
"type": "string", | |
"description": "app类型" | |
}, | |
"info": { | |
"type": "string", | |
"description": "更新提示" | |
}, | |
"forceUpdate": { | |
"type": "boolean", | |
"description": "是否强制更新" | |
}, | |
"publicChannel": { | |
"type": "string", | |
"description": "发布渠道" | |
} | |
} | |
}, | |
"UpdateUserPassword": { | |
"required": [ | |
"userId", | |
"oldPassword", | |
"newPassword", | |
"confirmPassword" | |
], | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "用户id" | |
}, | |
"oldPassword": { | |
"type": "string", | |
"description": "原密码" | |
}, | |
"newPassword": { | |
"type": "string", | |
"description": "新密码" | |
}, | |
"confirmPassword": { | |
"type": "string", | |
"description": "确认新密码" | |
} | |
} | |
}, | |
"ReleaseRecordDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/ReleaseRecordPageListItem" | |
} | |
} | |
}, | |
"IssueFeedbackPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"description": { | |
"type": "string", | |
"description": "版本名称" | |
}, | |
"type": { | |
"type": "string", | |
"description": "反馈类型,'0',业主APP,'1',物业管理APP, '2',其他APP" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "string" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"accessory": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"IssueFeedbackPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/IssueFeedbackPageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
} | |
} | |
}, | |
"IssueFeedbackPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"origin": { | |
"type": "string" | |
} | |
} | |
}, | |
"CurrentUser": { | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"avatar": { | |
"type": "string" | |
}, | |
"userid": { | |
"type": "string" | |
}, | |
"email": { | |
"type": "string" | |
}, | |
"signature": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"group": { | |
"type": "string" | |
}, | |
"tags": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"key": { | |
"type": "string" | |
}, | |
"label": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"notifyCount": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"unreadCount": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"country": { | |
"type": "string" | |
}, | |
"access": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"geographic": { | |
"type": "object", | |
"properties": { | |
"province": { | |
"type": "object", | |
"properties": { | |
"label": { | |
"type": "string" | |
}, | |
"key": { | |
"type": "string" | |
} | |
} | |
}, | |
"city": { | |
"type": "object", | |
"properties": { | |
"label": { | |
"type": "string" | |
}, | |
"key": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"address": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
} | |
} | |
}, | |
"PageParams": { | |
"type": "object", | |
"properties": { | |
"current": { | |
"type": "number" | |
}, | |
"pageSize": { | |
"type": "number" | |
} | |
} | |
}, | |
"RuleListItem": { | |
"type": "object", | |
"properties": { | |
"key": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"disabled": { | |
"type": "boolean" | |
}, | |
"href": { | |
"type": "string" | |
}, | |
"avatar": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"owner": { | |
"type": "string" | |
}, | |
"desc": { | |
"type": "string" | |
}, | |
"callNo": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updatedAt": { | |
"type": "string", | |
"format": "datetime" | |
}, | |
"createdAt": { | |
"type": "string", | |
"format": "datetime" | |
}, | |
"progress": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"RuleList": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/RuleListItem" | |
} | |
}, | |
"total": { | |
"type": "integer", | |
"description": "列表的内容总数", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"FakeCaptcha": { | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"status": { | |
"type": "string" | |
} | |
} | |
}, | |
"ErrorResponse": { | |
"required": [ | |
"errorCode" | |
], | |
"type": "object", | |
"properties": { | |
"errorCode": { | |
"type": "string", | |
"description": "业务约定的错误码" | |
}, | |
"errorMessage": { | |
"type": "string", | |
"description": "业务上的错误信息" | |
}, | |
"success": { | |
"type": "boolean", | |
"description": "业务上的请求是否成功" | |
} | |
} | |
}, | |
"NoticeIconList": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/NoticeIconItem" | |
} | |
}, | |
"total": { | |
"type": "integer", | |
"description": "列表的内容总数", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"NoticeIconItemType": { | |
"title": "NoticeIconItemType", | |
"description": "已读未读列表的枚举", | |
"type": "string", | |
"properties": {}, | |
"enum": [ | |
"notification", | |
"message", | |
"event" | |
] | |
}, | |
"NoticeIconItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"extra": { | |
"type": "string", | |
"format": "any" | |
}, | |
"key": { | |
"type": "string" | |
}, | |
"read": { | |
"type": "boolean" | |
}, | |
"avatar": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "string" | |
}, | |
"datetime": { | |
"type": "string", | |
"format": "date" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"type": { | |
"extensions": { | |
"x-is-enum": true | |
}, | |
"$ref": "#/components/schemas/NoticeIconItemType" | |
} | |
} | |
} | |
} | |
} | |
} |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Smart Community API", | |
"version": "1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://10.110.10.28:37775/" | |
}, | |
{ | |
"url": "https://localhost:8000/" | |
} | |
], | |
"security": [ | |
{ | |
"basicAuth": [] | |
} | |
], | |
"paths": { | |
"/api/system/easyLogin": { | |
"post": { | |
"tags": [ | |
"system" | |
], | |
"summary": "陈炜本地的登录接口", | |
"operationId": "easyLogin", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/responses/UnauthorizedError" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "easyLogin" | |
}, | |
"/api/system/sf/logout": { | |
"post": { | |
"description": "登录接口", | |
"operationId": "systemOutLogin", | |
"tags": [ | |
"system" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "systemOutLogin" | |
}, | |
"/api/system/getSysUserInfo": { | |
"get": { | |
"tags": [ | |
"system" | |
], | |
"description": "根据 token 获取系统登录用户信息", | |
"operationId": "getSysUserInfo", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserInfo" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserInfo" | |
}, | |
"/api/system/enterprise/getPageList": { | |
"get": { | |
"tags": [ | |
"enterprise" | |
], | |
"description": "根据 token 获取系统登录用户信息", | |
"operationId": "getEnterprisePageList", | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "areaAry", | |
"in": "query", | |
"description": "搜索多个区域", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "areas", | |
"in": "query", | |
"description": "暂时不知道干嘛用!", | |
"schema": { | |
"type": "array" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterprisePageList" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseList" | |
}, | |
"/api/system/enterprise/delete/{id}": { | |
"post": { | |
"description": "删除企业", | |
"operationId": "deleteEnterpriseItem", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseDeleteById" | |
}, | |
"/api/system/enterprise/info/{id}": { | |
"get": { | |
"description": "企业详情", | |
"operationId": "detailEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterpriseDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseDetailById" | |
}, | |
"/api/system/enterprise/add": { | |
"post": { | |
"description": "新增企业", | |
"operationId": "addEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddEnterprise" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseAdd" | |
}, | |
"/api/system/enterprise/update": { | |
"post": { | |
"description": "编辑企业", | |
"operationId": "updateEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddEnterprise" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseUpdate" | |
}, | |
"/api/system/enterprise/getList": { | |
"get": { | |
"description": "获取企业名称列表", | |
"operationId": "getEnterpriseOptions", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/EnterpriseOptions" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "enterpriseOptions" | |
}, | |
"/api/system/enterprise/getBindPermissionIds/{epId}": { | |
"get": { | |
"description": "获取企业绑定的菜单IDS", | |
"operationId": "getEnterpriseBindPermissionIds", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPermissionMenuTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getEnterpriseBindPermissionIds" | |
}, | |
"/api/system/enterprise/bindPermission/{epId}": { | |
"post": { | |
"description": "企业绑定菜单", | |
"operationId": "bindPermissionToEnterprise", | |
"tags": [ | |
"enterprise" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindPermissionToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindPermissionToEnterprise" | |
}, | |
"/api/system/sysOrg/tree": { | |
"get": { | |
"description": "获取组织架构树", | |
"operationId": "getSysOrgTree", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业名称Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOrgTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysOrgTree" | |
}, | |
"/api/system/sysOrg/add": { | |
"post": { | |
"description": "新增组织树", | |
"operationId": "addSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysOrg" | |
}, | |
"/api/system/sysOrg/delete/{id}": { | |
"post": { | |
"description": "删除组织", | |
"operationId": "deleteSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysOrg" | |
}, | |
"/api/system/sysOrg/update": { | |
"post": { | |
"description": "修改组织", | |
"operationId": "updateSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysOrg" | |
}, | |
"/api/system/sysOrg/info/{id}": { | |
"get": { | |
"description": "组织详情", | |
"operationId": "detailSysOrg", | |
"tags": [ | |
"sysOrg" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOrgDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysOrg" | |
}, | |
"/api/system/sysRole/getPageList": { | |
"get": { | |
"description": "获取系统角色分页列表", | |
"operationId": "getSysRolePageList", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业名称Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRolePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysRolePageList" | |
}, | |
"/api/system/sysRole/bindUsers": { | |
"post": { | |
"description": "角色绑定用户", | |
"operationId": "bindUsersToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindUsersToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindUsersToSysRole" | |
}, | |
"/api/system/sysRole/unBindUsers": { | |
"post": { | |
"description": "角色解绑用户", | |
"operationId": "unBindUsersToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindUsersToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "unBindUsersToSysRole" | |
}, | |
"/api/system/sysRole/add": { | |
"post": { | |
"description": "新增组织树", | |
"operationId": "addSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysRole" | |
}, | |
"/api/system/sysRole/delete/{id}": { | |
"post": { | |
"description": "删除组织", | |
"operationId": "deleteSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "组织ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysRole" | |
}, | |
"/api/system/sysRole/info/{id}": { | |
"get": { | |
"description": "获取系统角色详情", | |
"operationId": "detailSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRoleDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysRoleDetailById" | |
}, | |
"/api/system/sysRole/update": { | |
"post": { | |
"description": "修改组织", | |
"operationId": "updateSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysRole" | |
}, | |
"/api/system/sysRole/bindPermission/{roleId}": { | |
"post": { | |
"description": "角色绑定菜单", | |
"operationId": "bindPermissionToSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "roleId", | |
"in": "path", | |
"description": "角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/BindPermissionToSysRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindPermissionToSysRole" | |
}, | |
"/api/system/sysRole/getBindPermissionIds/{roleId}": { | |
"get": { | |
"description": "获取系统角色详情", | |
"operationId": "getBindPermissionIds", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "roleId", | |
"in": "path", | |
"description": "角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/GetBindPermissionIds" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getBindPermissionIdsByRoleId" | |
}, | |
"/api/system/sysUser/updatePassword": { | |
"post": { | |
"description": "修改密码用户密码", | |
"operationId": "updatePassword", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UpdateUserPassword" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updatePassword" | |
}, | |
"/api/system/sysUser/getPageList": { | |
"get": { | |
"description": "员工管理分页列表,这是个统一接口 -> 系统用户分页列表,根据type类型获取不同得列表值", | |
"operationId": "getSysUserPageList", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserPageList" | |
}, | |
"/api/system/sysUser/getPlatformPageList": { | |
"get": { | |
"description": "平台端员工管理分页列表,根据type类型获取不同得列表值", | |
"operationId": "getSysUserPlatformPageList", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysUserPlatformPageList" | |
}, | |
"/api/system/sysUser/resetPassword": { | |
"post": { | |
"description": "管理员重置用户密码", | |
"operationId": "resetPasswordSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "用户id" | |
} | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "resetPasswordSysUser" | |
}, | |
"/api/system/sysUser/import": { | |
"post": { | |
"description": "导入员工数据", | |
"operationId": "importSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "importSysUser" | |
}, | |
"/api/system/sysUser/template": { | |
"post": { | |
"description": "下载用户导入模板", | |
"operationId": "templateSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "templateSysUser" | |
}, | |
"/api/system/sysUser/export": { | |
"post": { | |
"description": "导出员工", | |
"operationId": "exportSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "exportSysUser" | |
}, | |
"/api/system/sysUser/add": { | |
"post": { | |
"description": "新增员工", | |
"operationId": "addSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysUser" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysUser" | |
}, | |
"/api/system/sysUser/delete/{id}": { | |
"post": { | |
"description": "删除用户", | |
"operationId": "deleteSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "用户ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysUser" | |
}, | |
"/api/system/sysUser/info/{id}": { | |
"get": { | |
"description": "获取系统用户详情", | |
"operationId": "detailSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "用户ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysUserById" | |
}, | |
"/api/system/sysUser/update": { | |
"post": { | |
"description": "修改系统用户", | |
"operationId": "updateSysUser", | |
"tags": [ | |
"sysUser" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysUser" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysUser" | |
}, | |
"/api/system/sysToDo/getPageList": { | |
"get": { | |
"description": "待办管理分页列表", | |
"operationId": "getSysToDoPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysToDoPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysToDoPageList" | |
}, | |
"/api/system/sysRecentContacts/getPageList": { | |
"get": { | |
"description": "最近联系人分页列表", | |
"operationId": "getSysRecentContactsPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRecentContactsPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysRecentContactsPageList" | |
}, | |
"/api/system/sysNotice/getPageList": { | |
"get": { | |
"description": "通知公告分页列表", | |
"operationId": "getSysNoticePageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysNoticePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysNoticePageList" | |
}, | |
"/api/system/sysUser/getOnlinePageList": { | |
"get": { | |
"description": "在线用户分页列表", | |
"operationId": "getOnlinePageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organizationId", | |
"in": "query", | |
"description": "组织架构Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "nickname", | |
"in": "query", | |
"description": "昵称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "username", | |
"in": "query", | |
"description": "用户名", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "状态,0:禁用,1:启用,2:锁定", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "roleId", | |
"in": "query", | |
"description": "用户的角色ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getOnlinePageList" | |
}, | |
"/api/system/offline": { | |
"post": { | |
"description": "强制退出", | |
"operationId": "forcedUserOffline", | |
"tags": [ | |
"system" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ForcedUserOffline" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "forcedUserOffline" | |
}, | |
"/api/system/sysOperationLog/getPageList": { | |
"get": { | |
"description": "在线用户分页列表", | |
"operationId": "getSysOperationLogPageList", | |
"tags": [ | |
"system" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "beginTime", | |
"in": "query", | |
"description": "开始时间", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "endTime", | |
"in": "query", | |
"description": "结束时间", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "methodName", | |
"in": "query", | |
"description": "方法名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "module", | |
"in": "query", | |
"description": "模块名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "requestMethod", | |
"in": "query", | |
"description": "请求方式,GET/POST", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "success", | |
"in": "query", | |
"description": "false:失败,true:成功", | |
"schema": { | |
"type": "boolean" | |
} | |
}, | |
{ | |
"name": "userName", | |
"in": "query", | |
"description": "操作人", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysOperationLogPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysOperationLogPageList" | |
}, | |
"/api/system/sysPermission/getMenuTree": { | |
"get": { | |
"description": "获取系统用户详情", | |
"operationId": "getSysPermissionMenuTree", | |
"tags": [ | |
"sysPermission" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPermissionMenuTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysPermissionMenuTree" | |
}, | |
"/api/system/sysPermission/add": { | |
"post": { | |
"description": "新增系统菜单", | |
"operationId": "addSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPermission" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysPermission" | |
}, | |
"/api/system/sysPermission/delete/{id}": { | |
"post": { | |
"description": "删除系统菜单", | |
"operationId": "deleteSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "系统菜单ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysPermission" | |
}, | |
"/api/system/sysPermission/update": { | |
"post": { | |
"description": "修改系统菜单", | |
"operationId": "updateSysPermission", | |
"tags": [ | |
"sysPermission" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPermission" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysPermission" | |
}, | |
"/api/system/sysRole/getList": { | |
"get": { | |
"description": "获取系统角色选择列表", | |
"operationId": "getListSysRole", | |
"tags": [ | |
"sysRole" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "type", | |
"in": "query", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysRoleList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getListSysRole" | |
}, | |
"/api/system/sysPost/getList": { | |
"get": { | |
"description": "获取系统岗位选择列表", | |
"operationId": "getListSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getListSysPost" | |
}, | |
"/api/system/sysPost/getPageList": { | |
"get": { | |
"description": "获取系统岗位分页列表", | |
"operationId": "getPageListSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "code", | |
"in": "query", | |
"description": "岗位编码", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "岗位名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "state", | |
"in": "query", | |
"description": "岗位状态,0:禁用,1:启用", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getPageListSysPost" | |
}, | |
"/api/system/sysPost/add": { | |
"post": { | |
"description": "新增岗位", | |
"operationId": "addSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPost" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysPost" | |
}, | |
"/api/system/sysPost/delete/{id}": { | |
"post": { | |
"description": "删除系统岗位", | |
"operationId": "deleteSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "系统岗位ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysPost" | |
}, | |
"/api/system/sysPost/info/{id}": { | |
"get": { | |
"description": "系统岗位详情", | |
"operationId": "detailSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "岗位ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysPostDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysPostById" | |
}, | |
"/api/system/sysPost/update": { | |
"post": { | |
"description": "修改系统岗位", | |
"operationId": "updateSysPost", | |
"tags": [ | |
"sysPost" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysPost" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysPost" | |
}, | |
"/api/system/subSystem/getPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getSubSystemPageList", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SubSystemPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "subSystemPageList" | |
}, | |
"/api/system/subSystem/add": { | |
"post": { | |
"description": "新增子系统", | |
"operationId": "addSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSubSystem" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSubSystem" | |
}, | |
"/api/system/subSystem/info/{id}": { | |
"get": { | |
"description": "子系统详情", | |
"operationId": "detailSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "子系统ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SubSystemDetail" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSubSystemById" | |
}, | |
"/api/system/subSystem/delete/{id}": { | |
"post": { | |
"description": "删除子系统", | |
"operationId": "deleteSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "子系统ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSubSystem" | |
}, | |
"/api/system/subSystem/update": { | |
"post": { | |
"description": "修改子系统", | |
"operationId": "updateSubSystem", | |
"tags": [ | |
"subSystem" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSubSystem" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSubSystem" | |
}, | |
"/api/system/pageStyle/getPageList": { | |
"get": { | |
"description": "门户页面分页列表", | |
"operationId": "getPageStylePageList", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "样式名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PageStylePageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "pageStylePageList" | |
}, | |
"/api/system/sysCommunity/getPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getProjectInfoPageList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "areaId", | |
"in": "query", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "code", | |
"in": "query", | |
"description": "项目编码", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysCommunityPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "sysCommunityPageList" | |
}, | |
"/api/system/sysCommunity/getSysAreaCommunityList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getSysAreaCommunityList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaCommunityList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysAreaCommunityList" | |
}, | |
"/api/system/sysCommunity/charge": { | |
"post": { | |
"description": "员工管理列表--负责项目", | |
"operationId": "addChargeSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddChargeSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addChargeSysCommunity" | |
}, | |
"/api/system/sysArea/tree": { | |
"get": { | |
"description": "项目信息列表左侧的区域树", | |
"operationId": "getSysAreaTree", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaTree" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysAreaTree" | |
}, | |
"/api/system/sysDict/detail": { | |
"get": { | |
"description": "获取项目类型, 根据 name 获取不同的类型,暂时只有一个 COMMUNITY_ATTRIBUTE", | |
"operationId": "getSysDictDetailByName", | |
"tags": [ | |
"sysDict" | |
], | |
"parameters": [ | |
{ | |
"name": "name", | |
"in": "query", | |
"description": "项目类型暂时只有一个 COMMUNITY_ATTRIBUTE", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysDictDetailByName" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getSysDictDetailByName" | |
}, | |
"/api/system/sysCommunity/add": { | |
"post": { | |
"description": "新增项目", | |
"operationId": "addSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysCommunity" | |
}, | |
"/api/system/sysCommunity/delete/{id}": { | |
"post": { | |
"description": "删除项目信息", | |
"operationId": "deleteSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "项目信息ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysCommunity" | |
}, | |
"/api/system/sysCommunity/info/{id}": { | |
"get": { | |
"description": "项目信息详情", | |
"operationId": "detailSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "项目ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysCommunityDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysCommunity" | |
}, | |
"/api/system/sysCommunity/update": { | |
"post": { | |
"description": "修改项目", | |
"operationId": "updateSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysCommunity" | |
}, | |
"/api/system/sysCommunity/getCommunityUserPageList": { | |
"get": { | |
"description": "项目信息列表", | |
"operationId": "getCommunityUserPageList", | |
"tags": [ | |
"sysCommunity" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "项目ID", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunityUserPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getCommunityUserPageList" | |
}, | |
"/api/system/sysCommunity/unbind": { | |
"post": { | |
"description": "项目信息员工列表-解绑用户", | |
"operationId": "unbindSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UnbindSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "unbindSysCommunity" | |
}, | |
"/api/system/sysCommunity/bind": { | |
"post": { | |
"description": "项目信息员工列表-绑定用户", | |
"operationId": "bindSysCommunity", | |
"tags": [ | |
"sysCommunity" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/UnbindSysCommunity" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "bindSysCommunity" | |
}, | |
"/api/system/sysArea/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addSysArea" | |
}, | |
"/api/system/sysArea/delete/{id}": { | |
"post": { | |
"description": "删除区域", | |
"operationId": "deleteSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteSysArea" | |
}, | |
"/api/system/sysArea/info/{id}": { | |
"get": { | |
"description": "区域详情", | |
"operationId": "detailSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "区域ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/SysAreaDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailSysArea" | |
}, | |
"/api/system/sysArea/update": { | |
"post": { | |
"description": "修改区域", | |
"operationId": "updateSysArea", | |
"tags": [ | |
"sysArea" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateSysArea" | |
}, | |
"/api/system/pageStyle/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addPageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddPageStyle" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addPageStyle" | |
}, | |
"/api/system/pageStyle/update": { | |
"post": { | |
"description": "修改区域", | |
"operationId": "updatePageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddSysArea" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updatePageStyle" | |
}, | |
"/api/system/pageStyle/info/{id}": { | |
"get": { | |
"description": "门户页面详情", | |
"operationId": "detailPageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "门户页面ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PageStyleDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailPageStyle" | |
}, | |
"/api/system/pageStyle/delete/{id}": { | |
"post": { | |
"description": "删除门户页面", | |
"operationId": "deletePageStyle", | |
"tags": [ | |
"pageStyle" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "门户页面ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deletePageStyle" | |
}, | |
"/api/system/releaseRecord/getPageList": { | |
"get": { | |
"description": "版本更新记录表分页列表", | |
"operationId": "getReleaseRecordPageList", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "communityId", | |
"in": "query", | |
"description": "项目ID", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "communityName", | |
"in": "query", | |
"description": "项目名称", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "epId", | |
"in": "query", | |
"description": "企业Id", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ReleaseRecordPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getReleaseRecordPageList" | |
}, | |
"/api/system/releaseRecord/add": { | |
"post": { | |
"description": "新增区域", | |
"operationId": "addReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddReleaseRecord" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "addReleaseRecord" | |
}, | |
"/api/system/releaseRecord/info/{id}": { | |
"get": { | |
"description": "门户页面详情", | |
"operationId": "detailReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "版本ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ReleaseRecordDetailById" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "detailReleaseRecord" | |
}, | |
"/api/system/releaseRecord/update": { | |
"post": { | |
"description": "修改版本更新记录表", | |
"operationId": "updateReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddReleaseRecord" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "updateReleaseRecord" | |
}, | |
"/api/system/releaseRecord/delete/{id}": { | |
"post": { | |
"description": "删除门户页面", | |
"operationId": "deleteReleaseRecord", | |
"tags": [ | |
"releaseRecord" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "版本ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteReleaseRecord" | |
}, | |
"/api/system/issueFeedback/getPageList": { | |
"get": { | |
"description": "系统问题反馈分页列表", | |
"operationId": "getIssueFeedbackPageList", | |
"tags": [ | |
"issueFeedback" | |
], | |
"parameters": [ | |
{ | |
"name": "pageIndex", | |
"in": "query", | |
"description": "页码,默认为1", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"required": true, | |
"description": "页大小,默认为10", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "keyword", | |
"in": "query", | |
"description": "关键字搜索", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "origin", | |
"in": "query", | |
"description": "请求来源", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/IssueFeedbackPageList" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "getIssueFeedbackPageList" | |
}, | |
"/api/system/issueFeedback/delete/{id}": { | |
"post": { | |
"description": "删除系统问题", | |
"operationId": "deleteIssueFeedback", | |
"tags": [ | |
"issueFeedback" | |
], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "问题ID", | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "deleteIssueFeedback" | |
}, | |
"/api/system/issueFeedback/export": { | |
"post": { | |
"description": "导出问题反馈列表数据", | |
"operationId": "exportIssueFeedback", | |
"tags": [ | |
"issueFeedback" | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoDataResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "exportIssueFeedback" | |
}, | |
"/api/currentUser": { | |
"get": { | |
"tags": [ | |
"api" | |
], | |
"description": "获取当前的用户", | |
"operationId": "currentUser", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CurrentUser" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/login/captcha": { | |
"post": { | |
"description": "发送验证码", | |
"operationId": "getFakeCaptcha", | |
"tags": [ | |
"login" | |
], | |
"parameters": [ | |
{ | |
"name": "phone", | |
"in": "query", | |
"description": "手机号", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/FakeCaptcha" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/login/outLogin": { | |
"post": { | |
"description": "登录接口", | |
"operationId": "outLogin", | |
"tags": [ | |
"login" | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/login/account": { | |
"post": { | |
"tags": [ | |
"login" | |
], | |
"description": "登录接口", | |
"operationId": "login", | |
"requestBody": { | |
"description": "登录系统", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginParams" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/LoginResult" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
}, | |
"x-codegen-request-body-name": "body" | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/api/notices": { | |
"summary": "getNotices", | |
"description": "NoticeIconItem", | |
"get": { | |
"tags": [ | |
"api" | |
], | |
"operationId": "getNotices", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/NoticeIconList" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/rule": { | |
"get": { | |
"tags": [ | |
"rule" | |
], | |
"description": "获取规则列表", | |
"operationId": "rule", | |
"parameters": [ | |
{ | |
"name": "current", | |
"in": "query", | |
"description": "当前的页码", | |
"schema": { | |
"type": "number" | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "页面的容量", | |
"schema": { | |
"type": "number" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleList" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"rule" | |
], | |
"description": "新建规则", | |
"operationId": "addRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleListItem" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"rule" | |
], | |
"description": "新建规则", | |
"operationId": "updateRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RuleListItem" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"rule" | |
], | |
"description": "删除规则", | |
"operationId": "removeRule", | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
}, | |
"401": { | |
"description": "Error", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ErrorResponse" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"x-swagger-router-controller": "api" | |
}, | |
"/swagger": { | |
"x-swagger-pipe": "swagger_raw" | |
} | |
}, | |
"components": { | |
"securitySchemes": { | |
"basicAuth": { | |
"type": "http", | |
"scheme": "bearer", | |
"bearerFormat": "JWT" | |
} | |
}, | |
"responses": { | |
"UnauthorizedError": { | |
"description": "Access token is missing or invalid" | |
} | |
}, | |
"schemas": { | |
"NoDataResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginParams": { | |
"required": [ | |
"username", | |
"password" | |
], | |
"type": "object", | |
"properties": { | |
"username": { | |
"type": "string" | |
}, | |
"password": { | |
"type": "string" | |
}, | |
"autoLogin": { | |
"type": "boolean" | |
}, | |
"verifyToken": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"deviceNo": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginResultData": { | |
"type": "object", | |
"properties": { | |
"token": { | |
"type": "string", | |
"required": false | |
}, | |
"loginSysUserVo": { | |
"type": "object", | |
"required": false, | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int64" | |
}, | |
"version": { | |
"type": "string", | |
"description": "版本号" | |
}, | |
"deviceNo": { | |
"type": "string", | |
"description": "绑定设备编号" | |
}, | |
"username": { | |
"type": "string", | |
"description": "用户名" | |
}, | |
"nickname": { | |
"type": "string", | |
"description": "昵称" | |
}, | |
"phone": { | |
"type": "string", | |
"description": "联系方式" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32", | |
"description": "性别,0:女,1:男,默认1" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用,2:锁定" | |
}, | |
"tenantId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "组织架构id" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int64", | |
"description": "角色id" | |
}, | |
"roleName": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"roleCode": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"permissions": { | |
"type": "array", | |
"item": { | |
"$ref": "#/components/schemas/SysPermissionMenuTreeItem" | |
}, | |
"description": "权限编码列表" | |
}, | |
"type": { | |
"type": "string", | |
"description": "用户类型 :platform_manager 平台系统管理员 、 business_manager 物业公司 业务管理员、 business_personnel 业务人员" | |
}, | |
"openId": { | |
"type": "string", | |
"description": "微信openId" | |
} | |
} | |
}, | |
"status": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"currentAuthority": { | |
"type": "string" | |
} | |
} | |
}, | |
"LoginResult": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "number" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/LoginResultData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysUserInfoData": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"departmentName": { | |
"type": "string" | |
}, | |
"groupId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"groupName": { | |
"type": "string" | |
}, | |
"deviceNo": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"tenantName": { | |
"type": "string" | |
}, | |
"projectNames": { | |
"type": "array" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"organizations": { | |
"type": "array" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"unreadCount": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"roles": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"SysUserInfo": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysUserInfoData" | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"EnterpriseAccessory": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"path": { | |
"type": "string" | |
}, | |
"accName": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"foreignKey": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"bucketName": { | |
"type": "string" | |
}, | |
"downloadUrl": { | |
"type": "string", | |
"description": "企业LOGO" | |
}, | |
"deleteState": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"phaseId": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"EnterprisePageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epCode": { | |
"type": "string", | |
"description": "企业编码(唯一)" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
}, | |
"epDesc": { | |
"type": "string", | |
"description": "企业简称" | |
}, | |
"legal": { | |
"type": "string", | |
"description": "企业法人" | |
}, | |
"legalPhone": { | |
"type": "string", | |
"description": "企业法人联系电话" | |
}, | |
"epAdmin": { | |
"type": "string", | |
"description": "企业管理员账号" | |
}, | |
"epNickName": { | |
"type": "string", | |
"description": "企业管理员昵称" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32", | |
"description": "0-未删除 1-已删除" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态(0-未启用 1-启用)" | |
}, | |
"accessory": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterpriseAccessory" | |
} | |
} | |
}, | |
"EnterprisePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/EnterprisePageListItem" | |
} | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"time": { | |
"type": "string" | |
} | |
} | |
}, | |
"EnterprisePageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"origin": { | |
"type": "string" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"EnterpriseDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/EnterprisePageListItem" | |
} | |
} | |
}, | |
"AddEnterprise": { | |
"required": [ | |
"epCode", | |
"epName", | |
"epDesc", | |
"epAdmin", | |
"epNickName", | |
"epPassword", | |
"passwordComfirm" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32", | |
"description": "修改时使用" | |
}, | |
"epCode": { | |
"type": "string", | |
"description": "企业编号" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
}, | |
"epDesc": { | |
"type": "string", | |
"description": "企业简称" | |
}, | |
"legal": { | |
"type": "string", | |
"description": "企业法人" | |
}, | |
"legalPhone": { | |
"type": "string", | |
"description": "法人联系电话" | |
}, | |
"epAdmin": { | |
"type": "string", | |
"description": "企业管理员账号" | |
}, | |
"epNickName": { | |
"type": "string", | |
"description": "企业管理员昵称" | |
}, | |
"epPassword": { | |
"type": "string", | |
"description": "企业管理员密码" | |
}, | |
"passwordComfirm": { | |
"type": "string", | |
"description": "确认密码" | |
}, | |
"accessory": { | |
"type": "object", | |
"description": "上传附件,公司LOGO图片等", | |
"properties": { | |
"accName": { | |
"type": "string" | |
}, | |
"path": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"EnterpriseOptionItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string", | |
"description": "企业名称" | |
} | |
} | |
}, | |
"EnterpriseOptions": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/EnterpriseOptionItem" | |
} | |
} | |
} | |
}, | |
"SysOrgTreeItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"charger": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"chargerName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"children": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysOrgTreeItem" | |
} | |
} | |
} | |
}, | |
"SysOrgTree": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysOrgTreeItem" | |
} | |
} | |
} | |
}, | |
"AddSysOrg": { | |
"required": [ | |
"code", | |
"name", | |
"epId", | |
"root" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"code": { | |
"type": "string", | |
"description": "组织编号" | |
}, | |
"name": { | |
"type": "string", | |
"description": "组织名称" | |
}, | |
"parentId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "所在组织的父级Id" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"charger": { | |
"type": "string", | |
"description": "责任人" | |
}, | |
"root": { | |
"type": "boolean", | |
"description": "是否是根级组织" | |
}, | |
"status": { | |
"type": "integer", | |
"format": "int32", | |
"description": "组织状态(0禁用 1启用 )" | |
} | |
} | |
}, | |
"SysOrgDetailById": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/AddSysOrg" | |
} | |
} | |
}, | |
"SysRolePageListItem": { | |
"type": "object", | |
"properties": { | |
"createTime": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"permissionIds": { | |
"type": "array" | |
}, | |
"organizationIds": { | |
"type": "array" | |
}, | |
"deleted": { | |
"type": "boolean" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "string" | |
}, | |
"isAdmin": { | |
"type": "boolean" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据权限范围,例如是本部门数据权限,还是其他数据权限" | |
} | |
} | |
}, | |
"SysRolePageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRolePageListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysRolePageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"areaAry": { | |
"type": "string" | |
}, | |
"areas": { | |
"type": "array" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态,0:禁用,1:启用" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位)" | |
} | |
} | |
}, | |
"SysRoleDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysRolePageListItem" | |
} | |
} | |
}, | |
"AddSysRole": { | |
"required": [ | |
"code", | |
"name", | |
"type", | |
"epId" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色唯一编码" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色状态(0禁用 1启用 )" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据范围 1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限" | |
}, | |
"remark": { | |
"type": "boolean" | |
}, | |
"permissionIds": { | |
"type": "array", | |
"description": "角色权限" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"epName": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业名称" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
}, | |
"SysUserRoleItem": { | |
"type": "object", | |
"properties": { | |
"userId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"userName": { | |
"type": "string" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"roleName": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysRoleListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"code": { | |
"type": "string", | |
"description": "角色编码" | |
}, | |
"type": { | |
"type": "string", | |
"description": "角色类型(enterprise_sys:企业角色 platform:平台角色 enterprise_det:租户角色或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "状态,0:禁用,1:启用" | |
}, | |
"dataScope": { | |
"type": "string", | |
"description": "数据范围 1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"permissionIds": { | |
"type": "array" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"epName": { | |
"type": "string" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUserName": { | |
"type": "string" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysRoleList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysRoleListItem" | |
} | |
} | |
} | |
}, | |
"BindUsersToSysRole": { | |
"type": "object", | |
"properties": { | |
"userIds": { | |
"type": "array" | |
}, | |
"roleId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "角色ID" | |
} | |
} | |
}, | |
"SysPostListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"name": { | |
"type": "string", | |
"description": "岗位名称" | |
}, | |
"code": { | |
"type": "string", | |
"description": "岗位唯一编码" | |
}, | |
"type": { | |
"type": "string", | |
"description": "岗位类型(enterprise_sys:企业岗位 platform:平台岗位 enterprise_det:租户岗位或岗位" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "岗位状态,0:禁用,1:启用" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createUser": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"createTime": { | |
"type": "string" | |
}, | |
"sort": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"updateTime": { | |
"type": "string" | |
}, | |
"updateUser": { | |
"type": "string" | |
} | |
} | |
}, | |
"SysPostList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
} | |
}, | |
"SysPostPageList": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"properties": { | |
"total": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"records": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"SysPostPageParams": { | |
"required": [ | |
"pageIndex", | |
"pageSize" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "string", | |
"description": "岗位编码" | |
}, | |
"epId": { | |
"type": "integer", | |
"format": "int32", | |
"description": "企业ID" | |
}, | |
"keyword": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string", | |
"description": "角色名称" | |
}, | |
"origin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"pageIndex": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"pageSize": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32", | |
"description": "岗位状态,0:禁用,1:启用" | |
}, | |
"type": { | |
"type": "string", | |
"description": "岗位类型(enterprise_sys:企业岗位 platform:平台岗位 enterprise_det:租户岗位或岗位" | |
} | |
} | |
}, | |
"AddSysPost": { | |
"required": [ | |
"name", | |
"epId" | |
], | |
"type": "object", | |
"$ref": "#/components/schemas/SysPostListItem" | |
}, | |
"SysPostDetail": { | |
"required": [ | |
"code", | |
"success", | |
"message", | |
"data" | |
], | |
"type": "object", | |
"properties": { | |
"code": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"success": { | |
"type": "boolean" | |
}, | |
"message": { | |
"type": "string" | |
}, | |
"data": { | |
"type": "object", | |
"$ref": "#/components/schemas/SysPostListItem" | |
} | |
} | |
}, | |
"SysUserPageListItem": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"businessOrigin": { | |
"type": "string", | |
"description": "请求来源" | |
}, | |
"username": { | |
"type": "string" | |
}, | |
"nickname": { | |
"type": "string" | |
}, | |
"phone": { | |
"type": "string" | |
}, | |
"gender": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"head": { | |
"type": "string" | |
}, | |
"remark": { | |
"type": "string" | |
}, | |
"requestNo": { | |
"type": "string" | |
}, | |
"roleName": { | |
"type": "string" | |
}, | |
"ip": { | |
"type": "string" | |
}, | |
"state": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"area": { | |
"type": "string" | |
}, | |
"deleted": { | |
"type": "integer", | |
"format": "int32" | |
}, | |
"browserInfo": { | |
"type": "string" | |
}, | |
"version": { | |
"type": "string" | |
}, | |
"jobNumber": { | |
"type": "string" | |
}, | |
"token": { | |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)