{ "openapi": "3.1.0", "info": { "title": "🎉 FastapiAdmin 🎉 -dev", "summary": "接口汇总", "description": "该项目是一个基于python的web服务框架,基于fastapi和sqlalchemy实现。", "version": "3.0.0" }, "paths": { "/common/file/upload": { "post": { "tags": [ "公共模块", "文件管理" ], "summary": "上传文件", "operationId": "upload_controller_common_file_upload_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "upload_type", "in": "query", "required": false, "schema": { "anyOf": [ { "enum": [ "file", "avatar", "param", "resource" ], "type": "string" }, { "type": "null" } ], "description": "上传类型: file=通用文件, avatar=头像, param=参数配置, resource=监控资源", "default": "file", "title": "Upload Type" }, "description": "上传类型: file=通用文件, avatar=头像, param=参数配置, resource=监控资源" } ], "requestBody": { "required": true, "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_upload_controller_common_file_upload_post" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UploadResponseSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/common/file/download": { "post": { "tags": [ "公共模块", "文件管理" ], "summary": "下载文件", "operationId": "download_controller_common_file_download_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Body_download_controller_common_file_download_post" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/common/health": { "get": { "tags": [ "公共模块", "健康检查" ], "summary": "基础健康检查", "description": "仅检查进程是否存活,用于负载均衡器探测", "operationId": "health_check_common_health_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_HealthOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/common/health/live": { "get": { "tags": [ "公共模块", "健康检查" ], "summary": "存活探针", "description": "进程已启动即可返回 200,供 K8s livenessProbe 使用", "operationId": "liveness_check_common_health_live_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_HealthOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/common/health/ready": { "get": { "tags": [ "公共模块", "健康检查" ], "summary": "就绪探针", "description": "探测数据库与 Redis;任一项失败返回 503,供 K8s readinessProbe 使用", "operationId": "readiness_check_common_health_ready_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ReadinessOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/login": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "登录", "operationId": "login_for_access_token_controller_system_auth_login_post", "requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Body_login_for_access_token_controller_system_auth_login_post" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginWithTenantsSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/token/refresh": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "刷新token", "operationId": "get_new_token_controller_system_auth_token_refresh_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RefreshTokenPayloadSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_JWTOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/captcha/get": { "get": { "tags": [ "系统管理", "认证授权" ], "summary": "获取验证码", "operationId": "get_captcha_for_login_controller_system_auth_captcha_get_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_CaptchaOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/logout": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "退出登录", "operationId": "logout_controller_system_auth_logout_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogoutPayloadSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/auth/auto-login/users": { "get": { "tags": [ "系统管理", "认证授权" ], "summary": "获取免登录用户列表", "operationId": "get_auto_login_users_controller_system_auth_auto_login_users_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_AutoLoginUserSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/auth/auto-login/token": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "获取免登录Token", "operationId": "get_auto_login_token_controller_system_auth_auto_login_token_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "user_id", "in": "query", "required": true, "schema": { "type": "integer", "title": "User Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_AutoLoginTokenSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/auto-login": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "免登录", "operationId": "auto_login_controller_system_auth_auto_login_post", "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string", "title": "Token" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_JWTOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/select-tenant": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "选择租户", "operationId": "select_tenant_controller_system_auth_select_tenant_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SelectTenantSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_SelectTenantOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/auth/tenants": { "get": { "tags": [ "系统管理", "认证授权" ], "summary": "获取可选租户列表", "operationId": "get_user_tenants_controller_system_auth_tenants_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_TenantOptionSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/auth/oauth/{provider}/login": { "get": { "tags": [ "系统管理", "认证授权" ], "summary": "第三方OAuth跳转", "operationId": "oauth_login_redirect_controller_system_auth_oauth__provider__login_get", "parameters": [ { "name": "provider", "in": "path", "required": true, "schema": { "type": "string", "description": "wechat | qq | github | gitee", "title": "Provider" }, "description": "wechat | qq | github | gitee" }, { "name": "redirect_uri", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "OAuth 完成后浏览器回到的前端登录页完整 URL", "title": "Redirect Uri" }, "description": "OAuth 完成后浏览器回到的前端登录页完整 URL" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/auth/tenant/register": { "post": { "tags": [ "系统管理", "认证授权" ], "summary": "租户自助注册", "operationId": "tenant_register_controller_system_auth_tenant_register_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TenantRegisterSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TenantRegisterOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dept/tree": { "get": { "tags": [ "系统管理", "部门管理" ], "summary": "查询部门树", "operationId": "get_dept_tree_controller_system_dept_tree_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "部门名称", "title": "Name" }, "description": "部门名称" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_DeptOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dept/detail/{id}": { "get": { "tags": [ "系统管理", "部门管理" ], "summary": "查询部门详情", "operationId": "get_obj_detail_controller_system_dept_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "部门ID", "title": "Id" }, "description": "部门ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DeptOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dept/create": { "post": { "tags": [ "系统管理", "部门管理" ], "summary": "创建部门", "operationId": "create_obj_controller_system_dept_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeptCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DeptOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dept/update/{id}": { "put": { "tags": [ "系统管理", "部门管理" ], "summary": "修改部门", "operationId": "update_obj_controller_system_dept_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "部门ID", "title": "Id" }, "description": "部门ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeptUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DeptOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dept/delete": { "delete": { "tags": [ "系统管理", "部门管理" ], "summary": "删除部门", "operationId": "delete_obj_controller_system_dept_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dept/status/batch": { "patch": { "tags": [ "系统管理", "部门管理" ], "summary": "批量修改部门状态", "operationId": "batch_set_available_obj_controller_system_dept_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/type/detail/{id}": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "获取字典类型详情", "operationId": "get_type_detail_controller_system_dict_type_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "description": "字典类型ID", "title": "Id" }, "description": "字典类型ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/type/list": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "查询字典类型", "operationId": "get_type_list_controller_system_dict_type_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "dict_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典名称", "title": "Dict Name" }, "description": "字典名称" }, { "name": "dict_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典类型", "title": "Dict Type" }, "description": "字典类型" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_DictTypeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/type/optionselect": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "获取全部字典类型", "operationId": "get_type_optionselect_controller_system_dict_type_optionselect_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_DictTypeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/type/create": { "post": { "tags": [ "系统管理", "字典管理" ], "summary": "创建字典类型", "operationId": "create_type_controller_system_dict_type_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DictTypeCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/type/update/{id}": { "put": { "tags": [ "系统管理", "字典管理" ], "summary": "修改字典类型", "operationId": "update_type_controller_system_dict_type_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "description": "字典类型ID", "title": "Id" }, "description": "字典类型ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DictTypeUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/type/delete": { "delete": { "tags": [ "系统管理", "字典管理" ], "summary": "删除字典类型", "operationId": "delete_type_controller_system_dict_type_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/type/status/batch": { "patch": { "tags": [ "系统管理", "字典管理" ], "summary": "批量修改字典类型状态", "operationId": "batch_set_available_dict_type_controller_system_dict_type_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/type/export": { "post": { "tags": [ "系统管理", "字典管理" ], "summary": "导出字典类型", "operationId": "export_type_list_controller_system_dict_type_export_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "dict_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典名称", "title": "Dict Name" }, "description": "字典名称" }, { "name": "dict_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典类型", "title": "Dict Type" }, "description": "字典类型" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/data/detail/{id}": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "获取字典数据详情", "operationId": "get_data_detail_controller_system_dict_data_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "description": "字典数据ID", "title": "Id" }, "description": "字典数据ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictDataOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/data/list": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "查询字典数据", "operationId": "get_data_list_controller_system_dict_data_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "dict_label", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典标签", "title": "Dict Label" }, "description": "字典标签" }, { "name": "dict_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典类型", "title": "Dict Type" }, "description": "字典类型" }, { "name": "dict_type_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "字典类型ID", "title": "Dict Type Id" }, "description": "字典类型ID" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_DictDataOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/data/create": { "post": { "tags": [ "系统管理", "字典管理" ], "summary": "创建字典数据", "operationId": "create_data_controller_system_dict_data_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DictDataCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictDataOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/data/update/{id}": { "put": { "tags": [ "系统管理", "字典管理" ], "summary": "修改字典数据", "operationId": "update_data_controller_system_dict_data_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "字典数据ID", "title": "Id" }, "description": "字典数据ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DictDataUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DictDataOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/data/delete": { "delete": { "tags": [ "系统管理", "字典管理" ], "summary": "删除字典数据", "operationId": "delete_data_controller_system_dict_data_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/data/status/batch": { "patch": { "tags": [ "系统管理", "字典管理" ], "summary": "批量修改字典数据状态", "operationId": "batch_set_available_dict_data_controller_system_dict_data_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/dict/data/export": { "post": { "tags": [ "系统管理", "字典管理" ], "summary": "导出字典数据", "operationId": "export_data_list_controller_system_dict_data_export_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "dict_label", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典标签", "title": "Dict Label" }, "description": "字典标签" }, { "name": "dict_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "description": "字典类型", "title": "Dict Type" }, "description": "字典类型" }, { "name": "dict_type_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "字典类型ID", "title": "Dict Type Id" }, "description": "字典类型ID" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } }, { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/dict/data/info/{dict_type}": { "get": { "tags": [ "系统管理", "字典管理" ], "summary": "根据字典类型获取数据", "operationId": "get_init_dict_data_controller_system_dict_data_info__dict_type__get", "parameters": [ { "name": "dict_type", "in": "path", "required": true, "schema": { "type": "string", "title": "Dict Type" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_DictDataOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/log/login/detail/{id}": { "get": { "tags": [ "系统管理", "日志管理" ], "summary": "获取登录日志详情", "operationId": "get_log_detail_controller_system_log_login_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "登录日志ID", "title": "Id" }, "description": "登录日志ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_LoginLogDetailOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/log/login/list": { "get": { "tags": [ "系统管理", "日志管理" ], "summary": "查询登录日志列表", "operationId": "get_log_list_controller_system_log_login_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "username", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "description": "用户名", "title": "Username" }, "description": "用户名" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_LoginLogOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/log/login/create": { "post": { "tags": [ "系统管理", "日志管理" ], "summary": "创建登录日志", "operationId": "create_log_controller_system_log_login_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginLogCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_LoginLogDetailOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/log/login/delete": { "delete": { "tags": [ "系统管理", "日志管理" ], "summary": "删除登录日志", "operationId": "delete_log_controller_system_log_login_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/log/operation/detail/{id}": { "get": { "tags": [ "系统管理", "日志管理" ], "summary": "获取操作日志详情", "operationId": "get_operation_log_detail_controller_system_log_operation_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "exclusiveMinimum": 0, "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OperationLogDetailOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/log/operation/list": { "get": { "tags": [ "系统管理", "日志管理" ], "summary": "获取操作日志列表", "operationId": "list_system_log_operation_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "request_path", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "请求路径", "title": "Request Path" }, "description": "请求路径" }, { "name": "request_method", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "请求方式", "title": "Request Method" }, "description": "请求方式" }, { "name": "username", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "用户名", "title": "Username" }, "description": "用户名" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_OperationLogOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/log/operation/create": { "post": { "tags": [ "系统管理", "日志管理" ], "summary": "创建操作日志", "operationId": "create_operation_log_controller_system_log_operation_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OperationLogCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OperationLogDetailOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/log/operation/delete": { "delete": { "tags": [ "系统管理", "日志管理" ], "summary": "删除操作日志", "operationId": "delete_system_log_operation_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchDelete" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/detail/{id}": { "get": { "tags": [ "系统管理", "公告通知" ], "summary": "获取公告详情", "operationId": "get_notice_detail_controller_system_notice_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "公告ID", "title": "Id" }, "description": "公告ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoticeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/notice/list": { "get": { "tags": [ "系统管理", "公告通知" ], "summary": "查询公告", "operationId": "get_notice_list_controller_system_notice_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "notice_title", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "公告标题", "title": "Notice Title" }, "description": "公告标题" }, { "name": "notice_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "公告类型", "title": "Notice Type" }, "description": "公告类型" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_NoticeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/notice/create": { "post": { "tags": [ "系统管理", "公告通知" ], "summary": "创建公告", "operationId": "create_notice_controller_system_notice_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NoticeCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoticeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/update/{id}": { "put": { "tags": [ "系统管理", "公告通知" ], "summary": "修改公告", "operationId": "update_notice_controller_system_notice_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "公告ID", "title": "Id" }, "description": "公告ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NoticeUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoticeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/notice/delete": { "delete": { "tags": [ "系统管理", "公告通知" ], "summary": "删除公告", "operationId": "delete_notice_controller_system_notice_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/status/batch": { "patch": { "tags": [ "系统管理", "公告通知" ], "summary": "批量修改公告状态", "operationId": "batch_set_available_notice_controller_system_notice_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/export": { "post": { "tags": [ "系统管理", "公告通知" ], "summary": "导出公告", "operationId": "export_notice_list_controller_system_notice_export_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "notice_title", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "公告标题", "title": "Notice Title" }, "description": "公告标题" }, { "name": "notice_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "公告类型", "title": "Notice Type" }, "description": "公告类型" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/notice/available": { "get": { "tags": [ "系统管理", "公告通知" ], "summary": "获取全局启用公告", "operationId": "get_notice_list_available_controller_system_notice_available_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_NoticeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/panel": { "get": { "tags": [ "系统管理", "公告通知" ], "summary": "通知面板数据(铃铛)", "description": "通知面板聚合接口,返回通知、消息、待办三个列表。", "operationId": "get_notification_panel_controller_system_notice_panel_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PanelDataOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/read/{id}": { "post": { "tags": [ "系统管理", "公告通知" ], "summary": "标记已读", "description": "标记已读。通过 `sys_notice_read` 表记录已读时间。", "operationId": "mark_read_controller_system_notice_read__id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "通知ID", "title": "Id" }, "description": "通知ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/notice/read-all": { "post": { "tags": [ "系统管理", "公告通知" ], "summary": "全部已读", "description": "全部标记已读。返回本次操作标记的数量。", "operationId": "mark_all_read_controller_system_notice_read_all_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_int_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/notice/unread-count": { "get": { "tags": [ "系统管理", "公告通知" ], "summary": "获取未读数量", "description": "获取未读通知数量。通过 LEFT JOIN 统计未读数。", "operationId": "get_unread_count_controller_system_notice_unread_count_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_int_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/param/detail/{id}": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "获取参数详情", "operationId": "get_param_detail_controller_system_param_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "参数ID", "title": "Id" }, "description": "参数ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/key/{config_key}": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "根据配置键获取参数详情", "operationId": "get_param_by_key_controller_system_param_key__config_key__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "config_key", "in": "path", "required": true, "schema": { "type": "string", "description": "配置键", "title": "Config Key" }, "description": "配置键" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/value/{config_key}": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "根据配置键获取参数值", "operationId": "get_config_value_by_key_controller_system_param_value__config_key__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "config_key", "in": "path", "required": true, "schema": { "type": "string", "description": "配置键", "title": "Config Key" }, "description": "配置键" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/list": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "获取参数列表", "operationId": "get_param_list_controller_system_param_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "config_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "参数名称", "title": "Config Name" }, "description": "参数名称" }, { "name": "config_key", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "参数键名", "title": "Config Key" }, "description": "参数键名" }, { "name": "config_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "是否系统内置(True:是 False:否)", "title": "Config Type" }, "description": "是否系统内置(True:是 False:否)" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_ParamsOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/create": { "post": { "tags": [ "系统管理", "参数管理" ], "summary": "创建参数", "operationId": "create_param_controller_system_param_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParamsCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/param/update/{id}": { "put": { "tags": [ "系统管理", "参数管理" ], "summary": "修改参数", "operationId": "update_param_controller_system_param_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "参数ID", "title": "Id" }, "description": "参数ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ParamsUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/delete": { "delete": { "tags": [ "系统管理", "参数管理" ], "summary": "删除参数", "operationId": "delete_param_controller_system_param_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ParamsOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/param/status/batch": { "patch": { "tags": [ "系统管理", "参数管理" ], "summary": "批量设置参数状态", "operationId": "batch_set_status_controller_system_param_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Body_batch_set_status_controller_system_param_status_batch_patch" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/param/export": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "导出参数", "operationId": "export_param_list_controller_system_param_export_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "config_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "参数名称", "title": "Config Name" }, "description": "参数名称" }, { "name": "config_key", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "参数键名", "title": "Config Key" }, "description": "参数键名" }, { "name": "config_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "是否系统内置(True:是 False:否)", "title": "Config Type" }, "description": "是否系统内置(True:是 False:否)" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/param/info": { "get": { "tags": [ "系统管理", "参数管理" ], "summary": "获取初始化缓存参数", "operationId": "get_init_config_controller_system_param_info_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_ParamsOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/position/list": { "get": { "tags": [ "系统管理", "岗位管理" ], "summary": "查询岗位", "operationId": "get_obj_list_controller_system_position_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "岗位名称", "title": "Name" }, "description": "岗位名称" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_PositionOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/position/detail/{id}": { "get": { "tags": [ "系统管理", "岗位管理" ], "summary": "查询岗位详情", "operationId": "get_obj_detail_controller_system_position_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "岗位ID", "title": "Id" }, "description": "岗位ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PositionOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/position/create": { "post": { "tags": [ "系统管理", "岗位管理" ], "summary": "创建岗位", "operationId": "create_obj_controller_system_position_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PositionCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PositionOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/position/update/{id}": { "put": { "tags": [ "系统管理", "岗位管理" ], "summary": "修改岗位", "operationId": "update_obj_controller_system_position_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "岗位ID", "title": "Id" }, "description": "岗位ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PositionUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PositionOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/position/delete": { "delete": { "tags": [ "系统管理", "岗位管理" ], "summary": "删除岗位", "operationId": "delete_obj_controller_system_position_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/position/status/batch": { "patch": { "tags": [ "系统管理", "岗位管理" ], "summary": "批量修改岗位状态", "operationId": "batch_set_available_obj_controller_system_position_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/position/export": { "get": { "tags": [ "系统管理", "岗位管理" ], "summary": "导出岗位", "operationId": "export_obj_list_controller_system_position_export_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "岗位名称", "title": "Name" }, "description": "岗位名称" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/role/list": { "get": { "tags": [ "系统管理", "角色管理" ], "summary": "查询角色", "operationId": "get_role_list_controller_system_role_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "角色名称", "title": "Name" }, "description": "角色名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "角色编码", "title": "Code" }, "description": "角色编码" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "状态(0:启动 1:停用)", "title": "Status" }, "description": "状态(0:启动 1:停用)" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_RoleOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/role/detail/{id}": { "get": { "tags": [ "系统管理", "角色管理" ], "summary": "查询角色详情", "operationId": "get_role_detail_controller_system_role_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "角色ID", "title": "Id" }, "description": "角色ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_RoleOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/role/create": { "post": { "tags": [ "系统管理", "角色管理" ], "summary": "创建角色", "operationId": "create_role_controller_system_role_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RoleCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_RoleOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/role/update/{id}": { "put": { "tags": [ "系统管理", "角色管理" ], "summary": "修改角色", "operationId": "update_role_controller_system_role_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "角色ID", "title": "Id" }, "description": "角色ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RoleUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_RoleOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/role/delete": { "delete": { "tags": [ "系统管理", "角色管理" ], "summary": "删除角色", "operationId": "delete_role_controller_system_role_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/role/status/batch": { "patch": { "tags": [ "系统管理", "角色管理" ], "summary": "批量修改角色状态", "operationId": "batch_set_available_role_controller_system_role_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/role/permission": { "put": { "tags": [ "系统管理", "角色管理" ], "summary": "角色授权", "operationId": "set_role_permission_controller_system_role_permission_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RolePermissionSettingSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/role/export": { "get": { "tags": [ "系统管理", "角色管理" ], "summary": "导出角色", "operationId": "export_role_list_controller_system_role_export_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "角色名称", "title": "Name" }, "description": "角色名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "角色编码", "title": "Code" }, "description": "角色编码" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "状态(0:启动 1:停用)", "title": "Status" }, "description": "状态(0:启动 1:停用)" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/ticket/list": { "get": { "tags": [ "系统管理", "工单管理" ], "summary": "工单列表", "operationId": "ticket_list_controller_system_ticket_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "title", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, { "name": "ticket_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ticket Type" } }, { "name": "assigned_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Assigned Id" } }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } }, { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_TicketOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/ticket/detail/{id}": { "get": { "tags": [ "系统管理", "工单管理" ], "summary": "获取工单详情", "operationId": "ticket_detail_controller_system_ticket_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TicketOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/ticket/create": { "post": { "tags": [ "系统管理", "工单管理" ], "summary": "创建工单", "operationId": "ticket_create_controller_system_ticket_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TicketOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/ticket/update/{id}": { "put": { "tags": [ "系统管理", "工单管理" ], "summary": "更新工单", "operationId": "ticket_update_controller_system_ticket_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TicketOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/ticket/batch": { "put": { "tags": [ "系统管理", "工单管理" ], "summary": "批量更新工单", "operationId": "ticket_batch_update_controller_system_ticket_batch_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketBatchSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/ticket/delete": { "delete": { "tags": [ "系统管理", "工单管理" ], "summary": "删除工单", "operationId": "ticket_delete_controller_system_ticket_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/current/info": { "get": { "tags": [ "系统管理", "用户管理" ], "summary": "查询当前用户信息", "operationId": "get_current_user_info_controller_system_user_current_info_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/current/info/update": { "put": { "tags": [ "系统管理", "用户管理" ], "summary": "更新当前用户基本信息", "operationId": "update_current_user_info_controller_system_user_current_info_update_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CurrentUserUpdateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/password/change": { "put": { "tags": [ "系统管理", "用户管理" ], "summary": "修改当前用户密码", "operationId": "change_current_user_password_controller_system_user_password_change_put", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserChangePasswordSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/password/reset/{id}": { "put": { "tags": [ "系统管理", "用户管理" ], "summary": "重置用户密码", "operationId": "reset_password_controller_system_user_password_reset__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "用户ID", "title": "Id" }, "description": "用户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResetPasswordSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/register": { "post": { "tags": [ "系统管理", "用户管理" ], "summary": "注册用户", "operationId": "register_user_controller_system_user_register_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserRegisterSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/password/forget": { "post": { "tags": [ "系统管理", "用户管理" ], "summary": "忘记密码", "operationId": "forget_password_controller_system_user_password_forget_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserForgetPasswordSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/list": { "get": { "tags": [ "系统管理", "用户管理" ], "summary": "查询用户", "operationId": "get_user_list_controller_system_user_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "username", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "用户名", "title": "Username" }, "description": "用户名" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "名称", "title": "Name" }, "description": "名称" }, { "name": "mobile", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "pattern": "^1[3-9]\\d{9}$" }, { "type": "null" } ], "description": "手机号", "title": "Mobile" }, "description": "手机号" }, { "name": "email", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$" }, { "type": "null" } ], "description": "邮箱", "title": "Email" }, "description": "邮箱" }, { "name": "dept_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "部门ID", "title": "Dept Id" }, "description": "部门ID" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "是否可用", "title": "Status" }, "description": "是否可用" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_UserOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/detail/{id}": { "get": { "tags": [ "系统管理", "用户管理" ], "summary": "查询用户详情", "operationId": "get_user_detail_controller_system_user_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "用户ID", "title": "Id" }, "description": "用户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/create": { "post": { "tags": [ "系统管理", "用户管理" ], "summary": "创建用户", "operationId": "create_user_controller_system_user_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/update/{id}": { "put": { "tags": [ "系统管理", "用户管理" ], "summary": "修改用户", "operationId": "update_user_controller_system_user_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "用户ID", "title": "Id" }, "description": "用户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UserOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/delete": { "delete": { "tags": [ "系统管理", "用户管理" ], "summary": "删除用户", "operationId": "delete_user_controller_system_user_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/status/batch": { "patch": { "tags": [ "系统管理", "用户管理" ], "summary": "批量修改用户状态", "operationId": "batch_set_available_user_controller_system_user_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/import/template": { "get": { "tags": [ "系统管理", "用户管理" ], "summary": "获取用户导入模板", "operationId": "export_user_import_template_controller_system_user_import_template_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/system/user/export": { "get": { "tags": [ "系统管理", "用户管理" ], "summary": "导出用户", "operationId": "export_user_list_controller_system_user_export_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "username", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "用户名", "title": "Username" }, "description": "用户名" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "名称", "title": "Name" }, "description": "名称" }, { "name": "mobile", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "pattern": "^1[3-9]\\d{9}$" }, { "type": "null" } ], "description": "手机号", "title": "Mobile" }, "description": "手机号" }, { "name": "email", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string", "pattern": "^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$" }, { "type": "null" } ], "description": "邮箱", "title": "Email" }, "description": "邮箱" }, { "name": "dept_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "部门ID", "title": "Dept Id" }, "description": "部门ID" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "是否可用", "title": "Status" }, "description": "是否可用" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/system/user/import/data": { "post": { "tags": [ "系统管理", "用户管理" ], "summary": "导入用户", "operationId": "import_user_list_controller_system_user_import_data_post", "requestBody": { "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_import_user_list_controller_system_user_import_data_post" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/detail/{id}": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "获取租户详情", "operationId": "get_obj_detail_controller_platform_tenant_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TenantOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/list": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "查询租户列表", "operationId": "get_obj_list_controller_platform_tenant_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "租户名称", "title": "Name" }, "description": "租户名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "租户编码", "title": "Code" }, "description": "租户编码" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_TenantOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/create": { "post": { "tags": [ "平台管理", "租户管理" ], "summary": "创建租户", "operationId": "create_obj_controller_platform_tenant_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TenantCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TenantOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/update/{id}": { "put": { "tags": [ "平台管理", "租户管理" ], "summary": "修改租户", "operationId": "update_obj_controller_platform_tenant_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TenantUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TenantOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/delete": { "delete": { "tags": [ "平台管理", "租户管理" ], "summary": "删除租户", "operationId": "delete_obj_controller_platform_tenant_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/status/batch": { "patch": { "tags": [ "平台管理", "租户管理" ], "summary": "批量修改租户状态", "operationId": "batch_set_available_obj_controller_platform_tenant_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/status/{id}": { "put": { "tags": [ "平台管理", "租户管理" ], "summary": "启/禁用租户", "operationId": "toggle_tenant_status_controller_platform_tenant_status__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/{id}/users": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "获取租户用户列表", "operationId": "get_tenant_users_controller_platform_tenant__id__users_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_TenantUserOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } }, "post": { "tags": [ "平台管理", "租户管理" ], "summary": "向租户添加用户", "operationId": "add_tenant_user_controller_platform_tenant__id__users_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TenantUserAddSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/{id}/users/{uid}": { "delete": { "tags": [ "平台管理", "租户管理" ], "summary": "从租户移除用户", "operationId": "remove_tenant_user_controller_platform_tenant__id__users__uid__delete", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "integer", "description": "用户ID", "title": "Uid" }, "description": "用户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/{id}/config": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "获取租户配置", "operationId": "get_tenant_config_controller_platform_tenant__id__config_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_TenantConfigOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } }, "put": { "tags": [ "平台管理", "租户管理" ], "summary": "更新租户配置", "operationId": "update_tenant_config_controller_platform_tenant__id__config_put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TenantConfigItem" }, "description": "配置项列表", "title": "Data" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_TenantConfigOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/{id}/config/info": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "获取租户配置(公开-缓存)", "operationId": "get_tenant_config_info_controller_platform_tenant__id__config_info_get", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_TenantConfigOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/renew/{id}": { "put": { "tags": [ "平台管理", "租户管理" ], "summary": "租户续期", "operationId": "renew_tenant_controller_platform_tenant_renew__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TenantRenewSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_TenantOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/{id}/package-change-preview": { "get": { "tags": [ "平台管理", "租户管理" ], "summary": "套餐变更影响预览", "operationId": "package_change_preview_controller_platform_tenant__id__package_change_preview_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "租户ID", "title": "Id" }, "description": "租户ID" }, { "name": "new_package_id", "in": "query", "required": true, "schema": { "type": "integer", "description": "目标套餐ID", "title": "New Package Id" }, "description": "目标套餐ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackageChangePreviewOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/detail/{id}": { "get": { "tags": [ "平台管理", "套餐管理" ], "summary": "获取套餐详情", "operationId": "get_obj_detail_controller_platform_package_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Id" }, "description": "套餐ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackageOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/list": { "get": { "tags": [ "平台管理", "套餐管理" ], "summary": "获取套餐列表", "operationId": "get_obj_list_controller_platform_package_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "套餐名称", "title": "Name" }, "description": "套餐名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "套餐编码", "title": "Code" }, "description": "套餐编码" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_PackageOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/create": { "post": { "tags": [ "平台管理", "套餐管理" ], "summary": "创建套餐", "operationId": "create_obj_controller_platform_package_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PackageCreateSchema", "description": "套餐信息" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackageOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/package/update/{id}": { "put": { "tags": [ "平台管理", "套餐管理" ], "summary": "更新套餐", "operationId": "update_obj_controller_platform_package_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Id" }, "description": "套餐ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PackageUpdateSchema", "description": "套餐信息" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackageOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/delete": { "delete": { "tags": [ "平台管理", "套餐管理" ], "summary": "删除套餐", "operationId": "delete_obj_controller_platform_package_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/package/status/batch": { "patch": { "tags": [ "平台管理", "套餐管理" ], "summary": "批量修改状态", "operationId": "set_available_controller_platform_package_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable", "description": "状态设置" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/package/menus/{package_id}": { "get": { "tags": [ "平台管理", "套餐管理" ], "summary": "获取套餐菜单", "operationId": "get_menus_controller_platform_package_menus__package_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "package_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Package Id" }, "description": "套餐ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_int__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/menus/{package_id}/set": { "post": { "tags": [ "平台管理", "套餐管理" ], "summary": "设置套餐菜单", "operationId": "set_menus_controller_platform_package_menus__package_id__set_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "package_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Package Id" }, "description": "套餐ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PackageMenuSetSchema", "description": "菜单列表" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/plugins/{package_id}": { "get": { "tags": [ "平台管理", "套餐管理" ], "summary": "获取套餐插件", "operationId": "get_plugins_controller_platform_package_plugins__package_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "package_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Package Id" }, "description": "套餐ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_int__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/package/plugins/{package_id}/set": { "post": { "tags": [ "平台管理", "套餐管理" ], "summary": "设置套餐插件", "operationId": "set_plugins_controller_platform_package_plugins__package_id__set_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "package_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "套餐ID", "title": "Package Id" }, "description": "套餐ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PackagePluginSetSchema", "description": "插件列表" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/plugin/list": { "get": { "tags": [ "平台管理", "插件管理" ], "summary": "插件列表", "operationId": "plugin_list_controller_platform_plugin_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "插件名称", "title": "Name" }, "description": "插件名称" }, { "name": "category", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "插件分类(tool/ai/monitor/business)", "title": "Category" }, "description": "插件分类(tool/ai/monitor/business)" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_PluginOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/plugin/detail/{id}": { "get": { "tags": [ "平台管理", "插件管理" ], "summary": "插件详情", "operationId": "plugin_detail_controller_platform_plugin_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PluginOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/plugin/create": { "post": { "tags": [ "平台管理", "插件管理" ], "summary": "创建插件", "operationId": "plugin_create_controller_platform_plugin_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PluginOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/update/{id}": { "put": { "tags": [ "平台管理", "插件管理" ], "summary": "更新插件", "operationId": "plugin_update_controller_platform_plugin_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PluginOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/plugin/delete": { "delete": { "tags": [ "平台管理", "插件管理" ], "summary": "删除插件", "operationId": "plugin_delete_controller_platform_plugin_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/marketplace": { "get": { "tags": [ "平台管理", "插件管理" ], "summary": "插件市场", "operationId": "plugin_marketplace_controller_platform_plugin_marketplace_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "category", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "分类筛选", "title": "Category" }, "description": "分类筛选" }, { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_PluginOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/plugin/install": { "post": { "tags": [ "平台管理", "插件管理" ], "summary": "安装插件", "operationId": "plugin_install_controller_platform_plugin_install_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginInstallSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/uninstall": { "post": { "tags": [ "平台管理", "插件管理" ], "summary": "卸载插件", "operationId": "plugin_uninstall_controller_platform_plugin_uninstall_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginInstallSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/toggle": { "post": { "tags": [ "平台管理", "插件管理" ], "summary": "启用/禁用插件", "operationId": "plugin_toggle_controller_platform_plugin_toggle_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginInstallSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/my": { "get": { "tags": [ "平台管理", "插件管理" ], "summary": "我的插件", "operationId": "plugin_my_list_controller_platform_plugin_my_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_PluginOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/plugin/reload": { "post": { "tags": [ "平台管理", "插件管理" ], "summary": "热重载插件路由", "operationId": "plugin_reload_controller_platform_plugin_reload_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_str_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/config/list": { "get": { "tags": [ "平台管理", "邮件服务" ], "summary": "SMTP 配置列表", "operationId": "email_config_list_controller_platform_email_config_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "配置名称", "title": "Name" }, "description": "配置名称" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "状态", "title": "Status" }, "description": "状态" }, { "name": "is_default", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "是否默认配置", "title": "Is Default" }, "description": "是否默认配置" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_EmailConfigOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/config/detail/{id}": { "get": { "tags": [ "平台管理", "邮件服务" ], "summary": "SMTP 配置详情", "operationId": "email_config_detail_controller_platform_email_config_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailConfigOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/config/create": { "post": { "tags": [ "平台管理", "邮件服务" ], "summary": "创建 SMTP 配置", "operationId": "email_config_create_controller_platform_email_config_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailConfigCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailConfigOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/config/update/{id}": { "put": { "tags": [ "平台管理", "邮件服务" ], "summary": "更新 SMTP 配置", "operationId": "email_config_update_controller_platform_email_config_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailConfigUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailConfigOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/config/delete": { "delete": { "tags": [ "平台管理", "邮件服务" ], "summary": "删除 SMTP 配置", "operationId": "email_config_delete_controller_platform_email_config_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/config/test": { "post": { "tags": [ "平台管理", "邮件服务" ], "summary": "测试 SMTP 连接", "operationId": "email_config_test_controller_platform_email_config_test_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailTestSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/template/list": { "get": { "tags": [ "平台管理", "邮件服务" ], "summary": "邮件模板列表", "operationId": "email_template_list_controller_platform_email_template_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "模板名称", "title": "Name" }, "description": "模板名称" }, { "name": "template_code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "模板编码", "title": "Template Code" }, "description": "模板编码" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_EmailTemplateOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/template/detail/{id}": { "get": { "tags": [ "平台管理", "邮件服务" ], "summary": "邮件模板详情", "operationId": "email_template_detail_controller_platform_email_template_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailTemplateOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/template/create": { "post": { "tags": [ "平台管理", "邮件服务" ], "summary": "创建邮件模板", "operationId": "email_template_create_controller_platform_email_template_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailTemplateCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailTemplateOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/template/update/{id}": { "put": { "tags": [ "平台管理", "邮件服务" ], "summary": "更新邮件模板", "operationId": "email_template_update_controller_platform_email_template_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "title": "Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailTemplateUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_EmailTemplateOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/email/template/delete": { "delete": { "tags": [ "平台管理", "邮件服务" ], "summary": "删除邮件模板", "operationId": "email_template_delete_controller_platform_email_template_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/send": { "post": { "tags": [ "平台管理", "邮件服务" ], "summary": "手动发送邮件(超管测试/补发)", "operationId": "email_send_controller_platform_email_send_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EmailSendSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/email/log/list": { "get": { "tags": [ "平台管理", "邮件服务" ], "summary": "邮件发送日志", "operationId": "email_log_list_controller_platform_email_log_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "to_email", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "收件人邮箱", "title": "To Email" }, "description": "收件人邮箱" }, { "name": "biz_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "业务类型", "title": "Biz Type" }, "description": "业务类型" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "状态", "title": "Status" }, "description": "状态" }, { "name": "template_code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "模板编码", "title": "Template Code" }, "description": "模板编码" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_EmailLogOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/order/create": { "post": { "tags": [ "平台管理", "租户订单" ], "summary": "租户端创建订单", "operationId": "tenant_order_create_controller_platform_order_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrderCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OrderOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/order/detail/{order_id}": { "get": { "tags": [ "平台管理", "订单管理" ], "summary": "订单详情", "operationId": "order_detail_controller_platform_order_detail__order_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Order Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OrderOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/order/list": { "get": { "tags": [ "平台管理", "订单管理" ], "summary": "订单列表", "operationId": "order_list_controller_platform_order_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "tenant_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id" } }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status" } }, { "name": "order_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Order Type" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "default": 1, "title": "Page" } }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "default": 20, "title": "Page Size" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_OrderOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/order/cancel/{order_id}": { "post": { "tags": [ "平台管理", "订单管理" ], "summary": "取消订单", "operationId": "order_cancel_controller_platform_order_cancel__order_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Order Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OrderStatusMessage_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/payment/pay/{order_id}": { "post": { "tags": [ "平台管理", "支付管理" ], "summary": "创建支付(获取支付 URL/二维码)", "operationId": "payment_create_controller_platform_payment_pay__order_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Order Id" } }, { "name": "method", "in": "query", "required": false, "schema": { "type": "string", "description": "支付渠道: alipay / wxpay(留空=自动)", "default": "", "title": "Method" }, "description": "支付渠道: alipay / wxpay(留空=自动)" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PaymentCreateOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/payment/status/{order_id}": { "get": { "tags": [ "平台管理", "支付管理" ], "summary": "查询支付状态(供前端轮询)", "operationId": "payment_status_controller_platform_payment_status__order_id__get", "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Order Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PaymentStatusOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/payment/callback/{method}": { "post": { "tags": [ "平台管理", "支付管理" ], "summary": "支付回调(统一入口)", "operationId": "payment_callback_controller_platform_payment_callback__method__post", "parameters": [ { "name": "method", "in": "path", "required": true, "schema": { "type": "string", "description": "支付渠道: alipay / wxpay / mock", "title": "Method" }, "description": "支付渠道: alipay / wxpay / mock" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true, "title": "Data" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/payment/mock/callback": { "post": { "tags": [ "平台管理", "支付管理" ], "summary": "Mock 支付回调(开发环境触发模拟支付)", "operationId": "payment_mock_callback_controller_platform_payment_mock_callback_post", "requestBody": { "content": { "application/json": { "schema": { "type": "integer", "minimum": 1, "title": "Order Id", "description": "订单 ID" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/payment/record/list": { "get": { "tags": [ "平台管理", "支付管理" ], "summary": "支付记录列表", "operationId": "payment_record_list_controller_platform_payment_record_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "default": 1, "title": "Page" } }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "default": 20, "title": "Page Size" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_PaymentRecordOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/refund/list": { "get": { "tags": [ "平台管理", "退款管理" ], "summary": "退款审核列表", "operationId": "refund_list_controller_platform_refund_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "状态筛选", "title": "Status" }, "description": "状态筛选" }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "default": 1, "title": "Page" } }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "default": 20, "title": "Page Size" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_RefundOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/refund/approve/{refund_id}": { "put": { "tags": [ "平台管理", "退款管理" ], "summary": "批准退款", "operationId": "refund_approve_controller_platform_refund_approve__refund_id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "refund_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Refund Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OrderStatusMessage_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/refund/reject/{refund_id}": { "put": { "tags": [ "平台管理", "退款管理" ], "summary": "驳回退款", "operationId": "refund_reject_controller_platform_refund_reject__refund_id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "refund_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Refund Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RefundReviewSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_OrderStatusMessage_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/invoice/list": { "get": { "tags": [ "平台管理", "发票管理" ], "summary": "全部发票列表", "operationId": "invoice_list_all_controller_platform_invoice_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "invoice_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Invoice Type" } }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status" } }, { "name": "tenant_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id" } }, { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "default": 1, "title": "Page No" } }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "default": 10, "title": "Page Size" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_InvoiceOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/invoice/issue/{id}": { "put": { "tags": [ "平台管理", "发票管理" ], "summary": "开具发票", "operationId": "invoice_issue_controller_platform_invoice_issue__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InvoiceIssueSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_InvoiceOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/invoice/void/{id}": { "put": { "tags": [ "平台管理", "发票管理" ], "summary": "作废发票", "operationId": "invoice_void_controller_platform_invoice_void__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Id" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InvoiceVoidSchema", "default": {} } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_InvoiceOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/invoice/apply": { "post": { "tags": [ "平台管理", "发票管理" ], "summary": "申请开票", "operationId": "invoice_apply_controller_platform_tenant_invoice_apply_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InvoiceApplySchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_InvoiceOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/invoice/list": { "get": { "tags": [ "平台管理", "发票管理" ], "summary": "我的发票列表", "operationId": "invoice_list_my_controller_platform_tenant_invoice_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "invoice_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Invoice Type" } }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status" } }, { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "default": 1, "title": "Page No" } }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "default": 10, "title": "Page Size" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_InvoiceOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/invoice/{id}/download": { "get": { "tags": [ "平台管理", "发票管理" ], "summary": "下载发票PDF与授权函", "operationId": "invoice_download_controller_platform_tenant_invoice__id__download_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/invoice/{id}/license/download": { "get": { "tags": [ "平台管理", "发票管理" ], "summary": "下载开源授权函PDF", "operationId": "invoice_license_download_controller_platform_tenant_invoice__id__license_download_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Id" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/order/refund/apply/{order_id}": { "post": { "tags": [ "平台管理", "租户订单" ], "summary": "申请退款", "operationId": "tenant_refund_apply_controller_platform_order_refund_apply__order_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "title": "Order Id" } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RefundApplySchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_RefundOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/package/available": { "get": { "tags": [ "自助服务" ], "summary": "可选套餐列表", "operationId": "package_available_controller_platform_tenant_package_available_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackageAvailableOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/package/preview": { "get": { "tags": [ "自助服务" ], "summary": "套餐变更影响预览", "operationId": "package_preview_controller_platform_tenant_package_preview_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "target_package_id", "in": "query", "required": true, "schema": { "type": "integer", "minimum": 1, "description": "目标套餐ID", "title": "Target Package Id" }, "description": "目标套餐ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PackagePreviewOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/order/create": { "post": { "tags": [ "自助服务" ], "summary": "创建自助订单", "operationId": "order_create_controller_platform_tenant_order_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SelfOrderCreate" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_SelfOrderOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/plugin/purchase": { "post": { "tags": [ "自助服务" ], "summary": "购买付费插件", "operationId": "plugin_purchase_controller_platform_tenant_plugin_purchase_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PluginPurchaseCreate" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_SelfOrderOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/tenant/order/list": { "get": { "tags": [ "自助服务" ], "summary": "我的订单列表", "operationId": "order_list_controller_platform_tenant_order_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_SelfOrderListOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/order/detail/{order_id}": { "get": { "tags": [ "自助服务" ], "summary": "订单详情", "operationId": "order_detail_controller_platform_tenant_order_detail__order_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "order_id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1, "description": "订单ID", "title": "Order Id" }, "description": "订单ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_SelfOrderDetailOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/tenant/workspace": { "get": { "tags": [ "自助服务" ], "summary": "租户工作台概览", "operationId": "tenant_workspace_controller_platform_tenant_workspace_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkspaceOut_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/menu/tree": { "get": { "tags": [ "平台管理", "菜单管理" ], "summary": "查询菜单树", "operationId": "get_menu_tree_controller_platform_menu_tree_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "菜单名称", "title": "Name" }, "description": "菜单名称" }, { "name": "route_path", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "路由地址", "title": "Route Path" }, "description": "路由地址" }, { "name": "component_path", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "组件路径", "title": "Component Path" }, "description": "组件路径" }, { "name": "type", "in": "query", "required": false, "schema": { "anyOf": [ { "enum": [ 1, 2, 3, 4 ], "type": "integer" }, { "type": "null" } ], "description": "菜单类型(1:目录 2:菜单 3:按钮 4:外链)", "title": "Type" }, "description": "菜单类型(1:目录 2:菜单 3:按钮 4:外链)" }, { "name": "permission", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "权限标识", "title": "Permission" }, "description": "权限标识" }, { "name": "description", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "描述", "title": "Description" }, "description": "描述" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "是否启用", "title": "Status" }, "description": "是否启用" }, { "name": "menu_client", "in": "query", "required": false, "schema": { "anyOf": [ { "enum": [ "pc", "app" ], "type": "string" }, { "type": "null" } ], "description": "管理端 Tab:pc=桌面端菜单 app=移动端菜单;不传则不过滤终端", "title": "Menu Client" }, "description": "管理端 Tab:pc=桌面端菜单 app=移动端菜单;不传则不过滤终端" }, { "name": "scope", "in": "query", "required": false, "schema": { "anyOf": [ { "const": "tenant", "type": "string" }, { "type": "null" } ], "description": "菜单范围过滤:tenant=仅租户可用菜单", "title": "Scope" }, "description": "菜单范围过滤:tenant=仅租户可用菜单" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_MenuOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/menu/detail/{id}": { "get": { "tags": [ "平台管理", "菜单管理" ], "summary": "查询菜单详情", "operationId": "get_obj_detail_controller_platform_menu_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "菜单ID", "title": "Id" }, "description": "菜单ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_MenuOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/menu/create": { "post": { "tags": [ "平台管理", "菜单管理" ], "summary": "创建菜单", "operationId": "create_obj_controller_platform_menu_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MenuCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_MenuOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/menu/update/{id}": { "put": { "tags": [ "平台管理", "菜单管理" ], "summary": "修改菜单", "operationId": "update_obj_controller_platform_menu_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "菜单ID", "title": "Id" }, "description": "菜单ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MenuUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_MenuOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/platform/menu/delete": { "delete": { "tags": [ "平台管理", "菜单管理" ], "summary": "删除菜单", "operationId": "delete_obj_controller_platform_menu_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/platform/menu/status/batch": { "patch": { "tags": [ "平台管理", "菜单管理" ], "summary": "批量修改菜单状态", "operationId": "batch_set_available_obj_controller_platform_menu_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/cache/info": { "get": { "tags": [ "系统监控", "缓存监控" ], "summary": "获取缓存监控信息", "operationId": "get_monitor_cache_info_controller_monitor_cache_info_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_CacheMonitorSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/cache/get/names": { "get": { "tags": [ "系统监控", "缓存监控" ], "summary": "获取缓存名称列表", "operationId": "get_monitor_cache_name_controller_monitor_cache_get_names_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_CacheInfoSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/cache/get/keys/{cache_name}": { "get": { "tags": [ "系统监控", "缓存监控" ], "summary": "获取缓存键名列表", "operationId": "get_monitor_cache_key_controller_monitor_cache_get_keys__cache_name__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "cache_name", "in": "path", "required": true, "schema": { "type": "string", "title": "Cache Name" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_CacheInfoSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/cache/get/value/{cache_name}/{cache_key}": { "get": { "tags": [ "系统监控", "缓存监控" ], "summary": "获取缓存值", "operationId": "get_monitor_cache_value_controller_monitor_cache_get_value__cache_name___cache_key__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "cache_name", "in": "path", "required": true, "schema": { "type": "string", "title": "Cache Name" } }, { "name": "cache_key", "in": "path", "required": true, "schema": { "type": "string", "title": "Cache Key" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_CacheInfoSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/cache/delete/name/{cache_name}": { "delete": { "tags": [ "系统监控", "缓存监控" ], "summary": "清除指定缓存名称的所有缓存", "operationId": "clear_monitor_cache_name_controller_monitor_cache_delete_name__cache_name__delete", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "cache_name", "in": "path", "required": true, "schema": { "type": "string", "title": "Cache Name" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/cache/delete/key/{cache_key}": { "delete": { "tags": [ "系统监控", "缓存监控" ], "summary": "清除指定缓存键", "operationId": "clear_monitor_cache_key_controller_monitor_cache_delete_key__cache_key__delete", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "cache_key", "in": "path", "required": true, "schema": { "type": "string", "title": "Cache Key" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/cache/delete/all": { "delete": { "tags": [ "系统监控", "缓存监控" ], "summary": "清除所有缓存", "operationId": "clear_monitor_cache_all_controller_monitor_cache_delete_all_delete", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/online/list": { "get": { "tags": [ "系统监控", "在线用户" ], "summary": "获取在线用户列表", "operationId": "get_online_list_controller_monitor_online_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "登录名称", "title": "Name" }, "description": "登录名称" }, { "name": "ipaddr", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "登陆IP地址", "title": "Ipaddr" }, "description": "登陆IP地址" }, { "name": "login_location", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "登录所属地", "title": "Login Location" }, "description": "登录所属地" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_OnlineOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/online/delete": { "delete": { "tags": [ "系统监控", "在线用户" ], "summary": "强制下线", "operationId": "delete_online_controller_monitor_online_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "type": "string", "title": "Session Id", "description": "会话编号" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/online/clear": { "delete": { "tags": [ "系统监控", "在线用户" ], "summary": "清除所有在线用户", "operationId": "clear_online_controller_monitor_online_clear_delete", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/list": { "get": { "tags": [ "系统监控", "资源管理" ], "summary": "获取目录列表", "operationId": "get_directory_list_controller_monitor_resource_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "搜索关键词", "title": "Name" }, "description": "搜索关键词" }, { "name": "path", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "目录路径", "title": "Path" }, "description": "目录路径" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_ResourceItemSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/resource/upload": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "上传文件", "operationId": "upload_file_controller_monitor_resource_upload_post", "requestBody": { "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_upload_file_controller_monitor_resource_upload_post" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_UploadResponseSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/download": { "get": { "tags": [ "系统监控", "资源管理" ], "summary": "下载文件", "operationId": "download_file_controller_monitor_resource_download_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "path", "in": "query", "required": true, "schema": { "type": "string", "description": "文件路径", "title": "Path" }, "description": "文件路径" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/resource/delete": { "delete": { "tags": [ "系统监控", "资源管理" ], "summary": "删除文件", "operationId": "delete_files_controller_monitor_resource_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array", "title": "Paths", "description": "文件路径列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/move": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "移动文件", "operationId": "move_file_controller_monitor_resource_move_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResourceMoveSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/copy": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "复制文件", "operationId": "copy_file_controller_monitor_resource_copy_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResourceCopySchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/rename": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "重命名文件", "operationId": "rename_file_controller_monitor_resource_rename_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResourceRenameSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/create-dir": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "创建目录", "operationId": "create_directory_controller_monitor_resource_create_dir_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResourceCreateDirSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/monitor/resource/export": { "post": { "tags": [ "系统监控", "资源管理" ], "summary": "导出资源列表", "operationId": "export_resource_list_controller_monitor_resource_export_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "搜索关键词", "title": "Name" }, "description": "搜索关键词" }, { "name": "path", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "目录路径", "title": "Path" }, "description": "目录路径" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/monitor/server/info": { "get": { "tags": [ "系统监控", "服务器监控" ], "summary": "查询服务器监控信息", "operationId": "get_monitor_server_info_controller_monitor_server_info_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_ServerMonitorSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/ai/chat/detail/{session_id}": { "get": { "tags": [ "AI管理", "AI对话" ], "summary": "获取会话详情", "operationId": "get_session_detail_controller_ai_chat_detail__session_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "description": "会话ID", "title": "Session Id" }, "description": "会话ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_str__Any__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/ai/chat/list": { "get": { "tags": [ "AI管理", "AI对话" ], "summary": "查询会话列表", "operationId": "get_session_list_controller_ai_chat_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "title", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "会话标题", "title": "Title" }, "description": "会话标题" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/ai/chat/create": { "post": { "tags": [ "AI管理", "AI对话" ], "summary": "创建会话", "operationId": "create_session_controller_ai_chat_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ChatSessionCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_str__Any__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/ai/chat/update/{session_id}": { "put": { "tags": [ "AI管理", "AI对话" ], "summary": "更新会话", "operationId": "update_session_controller_ai_chat_update__session_id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "session_id", "in": "path", "required": true, "schema": { "type": "string", "description": "会话ID", "title": "Session Id" }, "description": "会话ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ChatSessionUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/ai/chat/delete": { "delete": { "tags": [ "AI管理", "AI对话" ], "summary": "删除会话", "operationId": "delete_session_controller_ai_chat_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array", "title": "Session Ids" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/ai/chat/ai-chat": { "post": { "tags": [ "AI管理", "AI对话" ], "summary": "AI 对话(非流式)", "operationId": "ai_chat_controller_ai_chat_ai_chat_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AiChatRequestSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_AiChatResponseSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/example/demo/detail/{id}": { "get": { "tags": [ "开发工具", "示例" ], "summary": "获取示例详情", "operationId": "get_obj_detail_controller_example_demo_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "示例ID", "title": "Id" }, "description": "示例ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DemoOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/example/demo/list": { "get": { "tags": [ "开发工具", "示例" ], "summary": "分页查询示例", "operationId": "get_obj_list_controller_example_demo_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "名称", "title": "Name" }, "description": "名称" }, { "name": "description", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "描述", "title": "Description" }, "description": "描述" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "是否启用", "title": "Status" }, "description": "是否启用" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_DemoOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/example/demo/create": { "post": { "tags": [ "开发工具", "示例" ], "summary": "创建示例", "operationId": "create_obj_controller_example_demo_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DemoCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DemoOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/example/demo/update/{id}": { "put": { "tags": [ "开发工具", "示例" ], "summary": "修改示例", "operationId": "update_obj_controller_example_demo_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "示例ID", "title": "Id" }, "description": "示例ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DemoUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_DemoOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/example/demo/delete": { "delete": { "tags": [ "开发工具", "示例" ], "summary": "删除示例", "operationId": "delete_obj_controller_example_demo_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/example/demo/status/batch": { "patch": { "tags": [ "开发工具", "示例" ], "summary": "批量修改示例状态", "operationId": "batch_set_available_obj_controller_example_demo_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchSetAvailable" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/example/demo/export": { "post": { "tags": [ "开发工具", "示例" ], "summary": "导出示例", "operationId": "export_obj_list_controller_example_demo_export_post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "名称", "title": "Name" }, "description": "名称" }, { "name": "description", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "描述", "title": "Description" }, "description": "描述" }, { "name": "status", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "是否启用", "title": "Status" }, "description": "是否启用" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/example/demo/import": { "post": { "tags": [ "开发工具", "示例" ], "summary": "导入示例", "operationId": "import_obj_list_controller_example_demo_import_post", "requestBody": { "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Body_import_obj_list_controller_example_demo_import_post" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_str_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/example/demo/download/template": { "post": { "tags": [ "开发工具", "示例" ], "summary": "获取示例导入模板", "operationId": "export_obj_template_controller_example_demo_download_template_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/generator/gencode/list": { "get": { "tags": [ "开发工具", "代码生成" ], "summary": "查询代码生成业务表列表", "operationId": "gen_table_list_controller_generator_gencode_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "table_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "表名称", "title": "Table Name" }, "description": "表名称" }, { "name": "table_comment", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "表注释", "title": "Table Comment" }, "description": "表注释" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_GenTableOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/db/list": { "get": { "tags": [ "开发工具", "代码生成" ], "summary": "查询数据库表列表", "operationId": "get_gen_db_table_list_controller_generator_gencode_db_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "table_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "表名称", "title": "Table Name" }, "description": "表名称" }, { "name": "table_comment", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "表注释", "title": "Table Comment" }, "description": "表注释" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_GenDBTableSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/import": { "post": { "tags": [ "开发工具", "代码生成" ], "summary": "导入表结构", "operationId": "import_gen_table_controller_generator_gencode_import_post", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array", "title": "Table Names", "description": "表名列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_bool_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/generator/gencode/detail/{table_id}": { "get": { "tags": [ "开发工具", "代码生成" ], "summary": "获取业务表详细信息", "operationId": "gen_table_detail_controller_generator_gencode_detail__table_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "业务表ID", "title": "Table Id" }, "description": "业务表ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_GenTableOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/create": { "post": { "tags": [ "开发工具", "代码生成" ], "summary": "创建表结构", "operationId": "create_table_controller_generator_gencode_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenCreateTableSqlBody" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_bool_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/generator/gencode/update/{table_id}": { "put": { "tags": [ "开发工具", "代码生成" ], "summary": "编辑业务表信息", "operationId": "update_gen_table_controller_generator_gencode_update__table_id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "业务表ID", "title": "Table Id" }, "description": "业务表ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenTableSchema", "description": "业务表信息" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_GenTableOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/delete": { "delete": { "tags": [ "开发工具", "代码生成" ], "summary": "删除业务表信息", "operationId": "delete_gen_table_controller_generator_gencode_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "业务表ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/generator/gencode/batch/output": { "patch": { "tags": [ "开发工具", "代码生成" ], "summary": "批量生成代码", "operationId": "batch_gen_code_controller_generator_gencode_batch_output_patch", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array", "title": "Table Names", "description": "表名列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": {} } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/generator/gencode/output/{table_name}": { "post": { "tags": [ "开发工具", "代码生成" ], "summary": "生成代码到指定路径", "operationId": "gen_code_local_controller_generator_gencode_output__table_name__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_name", "in": "path", "required": true, "schema": { "type": "string", "description": "表名", "title": "Table Name" }, "description": "表名" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_bool_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/preview/{table_id}": { "get": { "tags": [ "开发工具", "代码生成" ], "summary": "预览代码", "operationId": "preview_code_controller_generator_gencode_preview__table_id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_id", "in": "path", "required": true, "schema": { "type": "integer", "description": "业务表ID", "title": "Table Id" }, "description": "业务表ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_GenTableOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/sync_db/{table_name}": { "post": { "tags": [ "开发工具", "代码生成" ], "summary": "同步数据库", "operationId": "sync_db_controller_generator_gencode_sync_db__table_name__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_name", "in": "path", "required": true, "schema": { "type": "string", "description": "表名", "title": "Table Name" }, "description": "表名" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/generator/gencode/sync_db/preview/{table_name}": { "get": { "tags": [ "开发工具", "代码生成" ], "summary": "同步数据库差异预览", "operationId": "sync_db_preview_controller_generator_gencode_sync_db_preview__table_name__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "table_name", "in": "path", "required": true, "schema": { "type": "string", "description": "表名", "title": "Table Name" }, "description": "表名" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_GenSyncPreviewSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/scheduler/status": { "get": { "tags": [ "任务调度", "调度器监控" ], "summary": "获取调度器状态", "operationId": "get_scheduler_status_controller_task_cronjob_job_scheduler_status_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/jobs": { "get": { "tags": [ "任务调度", "调度器监控" ], "summary": "获取调度器任务列表", "operationId": "get_scheduler_jobs_controller_task_cronjob_job_scheduler_jobs_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_dict__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/start": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "启动调度器", "operationId": "start_scheduler_controller_task_cronjob_job_scheduler_start_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/pause": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "暂停调度器", "operationId": "pause_scheduler_controller_task_cronjob_job_scheduler_pause_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/resume": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "恢复调度器", "operationId": "resume_scheduler_controller_task_cronjob_job_scheduler_resume_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/shutdown": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "关闭调度器", "operationId": "shutdown_scheduler_controller_task_cronjob_job_scheduler_shutdown_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/jobs/clear": { "delete": { "tags": [ "任务调度", "调度器监控" ], "summary": "清空所有任务", "operationId": "clear_jobs_controller_task_cronjob_job_scheduler_jobs_clear_delete", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/console": { "get": { "tags": [ "任务调度", "调度器监控" ], "summary": "获取调度器控制台信息", "operationId": "get_scheduler_console_controller_task_cronjob_job_scheduler_console_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_str_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/scheduler/sync": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "同步调度器任务到数据库", "operationId": "sync_jobs_controller_task_cronjob_job_scheduler_sync_post", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_int_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/job/task/pause/{job_id}": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "暂停任务", "operationId": "pause_job_controller_task_cronjob_job_task_pause__job_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "description": "调度器任务ID", "title": "Job Id" }, "description": "调度器任务ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/task/resume/{job_id}": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "恢复任务", "operationId": "resume_job_controller_task_cronjob_job_task_resume__job_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "description": "调度器任务ID", "title": "Job Id" }, "description": "调度器任务ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/task/run/{job_id}": { "post": { "tags": [ "任务调度", "调度器监控" ], "summary": "立即执行任务", "operationId": "run_job_controller_task_cronjob_job_task_run__job_id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "description": "调度器任务ID", "title": "Job Id" }, "description": "调度器任务ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/task/remove/{job_id}": { "delete": { "tags": [ "任务调度", "调度器监控" ], "summary": "移除任务", "operationId": "remove_job_controller_task_cronjob_job_task_remove__job_id__delete", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "job_id", "in": "path", "required": true, "schema": { "type": "string", "description": "调度器任务ID", "title": "Job Id" }, "description": "调度器任务ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/log/list": { "get": { "tags": [ "任务调度", "调度器监控" ], "summary": "查询执行日志列表", "operationId": "get_job_log_list_controller_task_cronjob_job_log_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "job_id", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "任务ID", "title": "Job Id" }, "description": "任务ID" }, { "name": "job_name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "任务名称", "title": "Job Name" }, "description": "任务名称" }, { "name": "trigger_type", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "触发方式", "title": "Trigger Type" }, "description": "触发方式" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_JobOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/log/detail/{id}": { "get": { "tags": [ "任务调度", "调度器监控" ], "summary": "获取执行日志详情", "operationId": "get_job_log_detail_controller_task_cronjob_job_log_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "日志ID", "title": "Id" }, "description": "日志ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_JobOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/job/log/delete": { "delete": { "tags": [ "任务调度", "调度器监控" ], "summary": "删除执行日志", "operationId": "delete_job_log_controller_task_cronjob_job_log_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/node/options": { "get": { "tags": [ "任务调度", "节点管理" ], "summary": "获取定时任务节点列表", "operationId": "get_node_options_controller_task_cronjob_node_options_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_dict__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/node/detail/{id}": { "get": { "tags": [ "任务调度", "节点管理" ], "summary": "获取节点详情", "operationId": "get_obj_detail_controller_task_cronjob_node_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "节点ID", "title": "Id" }, "description": "节点ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NodeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/node/list": { "get": { "tags": [ "任务调度", "节点管理" ], "summary": "查询节点", "operationId": "get_obj_list_controller_task_cronjob_node_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "节点名称", "title": "Name" }, "description": "节点名称" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_NodeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/node/create": { "post": { "tags": [ "任务调度", "节点管理" ], "summary": "创建节点", "operationId": "create_obj_controller_task_cronjob_node_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NodeCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NodeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/node/update/{id}": { "put": { "tags": [ "任务调度", "节点管理" ], "summary": "修改节点", "operationId": "update_obj_controller_task_cronjob_node_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "节点ID", "title": "Id" }, "description": "节点ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NodeUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NodeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/node/delete": { "delete": { "tags": [ "任务调度", "节点管理" ], "summary": "删除节点", "operationId": "delete_obj_controller_task_cronjob_node_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/node/clear": { "delete": { "tags": [ "任务调度", "节点管理" ], "summary": "清空节点", "operationId": "clear_obj_controller_task_cronjob_node_clear_delete", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/cronjob/node/execute/{id}": { "post": { "tags": [ "任务调度", "节点管理" ], "summary": "调试节点", "operationId": "execute_job_controller_task_cronjob_node_execute__id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "节点ID", "title": "Id" }, "description": "节点ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NodeExecuteSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_dict_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/cronjob/node/status/batch": { "patch": { "tags": [ "任务调度", "节点管理" ], "summary": "批量设置节点状态", "operationId": "batch_set_status_controller_task_cronjob_node_status_batch_patch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Body_batch_set_status_controller_task_cronjob_node_status_batch_patch" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/definition/detail/{id}": { "get": { "tags": [ "任务调度", "工作流" ], "summary": "工作流详情", "operationId": "get_workflow_detail_controller_task_workflow_definition_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "工作流ID", "title": "Id" }, "description": "工作流ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/definition/list": { "get": { "tags": [ "任务调度", "工作流" ], "summary": "工作流列表", "operationId": "get_workflow_list_controller_task_workflow_definition_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "流程名称", "title": "Name" }, "description": "流程名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "流程编码", "title": "Code" }, "description": "流程编码" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_WorkflowOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/definition/create": { "post": { "tags": [ "任务调度", "工作流" ], "summary": "创建工作流", "operationId": "create_workflow_controller_task_workflow_definition_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/definition/update/{id}": { "put": { "tags": [ "任务调度", "工作流" ], "summary": "更新工作流", "operationId": "update_workflow_controller_task_workflow_definition_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "工作流ID", "title": "Id" }, "description": "工作流ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/definition/delete": { "delete": { "tags": [ "任务调度", "工作流" ], "summary": "删除工作流", "operationId": "delete_workflow_controller_task_workflow_definition_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/definition/publish/{id}": { "post": { "tags": [ "任务调度", "工作流" ], "summary": "发布工作流", "operationId": "publish_workflow_controller_task_workflow_definition_publish__id__post", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "工作流ID", "title": "Id" }, "description": "工作流ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/definition/execute": { "post": { "tags": [ "任务调度", "工作流" ], "summary": "执行工作流", "operationId": "execute_workflow_controller_task_workflow_definition_execute_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowExecuteSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowExecuteResultSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/node-type/options": { "get": { "tags": [ "工作流节点类型" ], "summary": "节点类型选项", "operationId": "get_workflow_node_type_options_controller_task_workflow_node_type_options_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_dict__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/node-type/detail/{id}": { "get": { "tags": [ "工作流节点类型" ], "summary": "节点类型详情", "operationId": "get_workflow_node_type_detail_controller_task_workflow_node_type_detail__id__get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "ID", "title": "Id" }, "description": "ID" } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowNodeTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/node-type/list": { "get": { "tags": [ "工作流节点类型" ], "summary": "节点类型列表", "operationId": "get_workflow_node_type_list_controller_task_workflow_node_type_list_get", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "page_no", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1, "description": "当前页码", "default": 1, "title": "Page No" }, "description": "当前页码" }, { "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", "maximum": 100, "minimum": 1, "description": "每页数量", "default": 10, "title": "Page Size" }, "description": "每页数量" }, { "name": "order_by", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]", "title": "Order By" }, "description": "排序字段,格式:[{'field1': 'asc'}, {'field2': 'desc'}]" }, { "name": "name", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "名称", "title": "Name" }, "description": "名称" }, { "name": "code", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "编码", "title": "Code" }, "description": "编码" }, { "name": "category", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "分类", "title": "Category" }, "description": "分类" }, { "name": "is_active", "in": "query", "required": false, "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "description": "是否启用", "title": "Is Active" }, "description": "是否启用" }, { "name": "args", "in": "query", "required": true, "schema": { "title": "Args" } }, { "name": "kwargs", "in": "query", "required": true, "schema": { "title": "Kwargs" } } ], "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_PageResultSchema_WorkflowNodeTypeOutSchema__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/node-type/create": { "post": { "tags": [ "工作流节点类型" ], "summary": "创建节点类型", "operationId": "create_workflow_node_type_controller_task_workflow_node_type_create_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowNodeTypeCreateSchema" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowNodeTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/node-type/update/{id}": { "put": { "tags": [ "工作流节点类型" ], "summary": "更新节点类型", "operationId": "update_workflow_node_type_controller_task_workflow_node_type_update__id__put", "security": [ { "CustomOAuth2PasswordBearer": [] } ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "description": "ID", "title": "Id" }, "description": "ID" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowNodeTypeUpdateSchema" } } } }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_WorkflowNodeTypeOutSchema_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } } } }, "/task/workflow/node-type/delete": { "delete": { "tags": [ "工作流节点类型" ], "summary": "删除节点类型", "operationId": "delete_workflow_node_type_controller_task_workflow_node_type_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" } } }, "required": true }, "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_NoneType_" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } }, "/task/workflow/node-type/select": { "get": { "tags": [ "工作流节点类型" ], "summary": "节点类型选择列表", "operationId": "get_workflow_node_type_select_controller_task_workflow_node_type_select_get", "responses": { "200": { "description": "成功", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponseSchema_list_dict__" } } } }, "400": { "description": "请求参数错误" }, "401": { "description": "未认证" }, "403": { "description": "未授权" }, "404": { "description": "资源不存在" }, "422": { "description": "请求参数验证错误" }, "500": { "description": "服务器内部错误" } }, "security": [ { "CustomOAuth2PasswordBearer": [] } ] } } }, "components": { "schemas": { "AiChatRequestSchema": { "properties": { "message": { "type": "string", "minLength": 1, "title": "Message", "description": "用户消息内容" }, "session_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Session Id", "description": "会话ID,不传则创建新会话" } }, "type": "object", "required": [ "message" ], "title": "AiChatRequestSchema", "description": "AI 对话请求模型(非流式)" }, "AiChatResponseSchema": { "properties": { "response": { "type": "string", "title": "Response", "description": "AI 回复内容" }, "session_id": { "type": "string", "title": "Session Id", "description": "会话ID" }, "function_calls": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Function Calls", "description": "函数调用信息" }, "action": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Action", "description": "建议执行的操作" } }, "type": "object", "required": [ "response", "session_id" ], "title": "AiChatResponseSchema", "description": "AI 对话响应模型(非流式)" }, "AutoLoginTokenSchema": { "properties": { "token": { "type": "string", "title": "Token", "description": "免登录Token" }, "user": { "$ref": "#/components/schemas/AutoLoginUserSchema", "description": "用户信息" } }, "type": "object", "required": [ "token", "user" ], "title": "AutoLoginTokenSchema", "description": "免登录Token响应模型" }, "AutoLoginUserSchema": { "properties": { "id": { "type": "integer", "title": "Id", "description": "用户ID" }, "username": { "type": "string", "title": "Username", "description": "用户名" }, "name": { "type": "string", "title": "Name", "description": "用户姓名" }, "avatar": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Avatar", "description": "头像" } }, "type": "object", "required": [ "id", "username", "name" ], "title": "AutoLoginUserSchema", "description": "免登录用户信息模型" }, "BatchDelete": { "properties": { "ids": { "items": { "type": "integer" }, "type": "array", "minItems": 1, "title": "Ids", "description": "ID列表" } }, "type": "object", "required": [ "ids" ], "title": "BatchDelete", "description": "批量删除请求模型" }, "BatchSetAvailable": { "properties": { "ids": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "ID列表" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "是否可用", "default": 0 } }, "type": "object", "title": "BatchSetAvailable", "description": "批量设置可用状态的请求模型" }, "Body_batch_set_status_controller_system_param_status_batch_patch": { "properties": { "ids": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "参数ID列表" }, "status": { "type": "integer", "title": "Status", "description": "状态值" } }, "type": "object", "required": [ "ids", "status" ], "title": "Body_batch_set_status_controller_system_param_status_batch_patch" }, "Body_batch_set_status_controller_task_cronjob_node_status_batch_patch": { "properties": { "ids": { "items": { "type": "integer" }, "type": "array", "title": "Ids", "description": "节点ID列表" }, "status": { "type": "integer", "title": "Status", "description": "状态值" } }, "type": "object", "required": [ "ids", "status" ], "title": "Body_batch_set_status_controller_task_cronjob_node_status_batch_patch" }, "Body_download_controller_common_file_download_post": { "properties": { "file_path": { "type": "string", "title": "File Path", "description": "文件路径" }, "delete": { "type": "boolean", "title": "Delete", "description": "是否删除文件", "default": false } }, "type": "object", "required": [ "file_path" ], "title": "Body_download_controller_common_file_download_post" }, "Body_import_obj_list_controller_example_demo_import_post": { "properties": { "file": { "type": "string", "contentMediaType": "application/octet-stream", "title": "File" } }, "type": "object", "required": [ "file" ], "title": "Body_import_obj_list_controller_example_demo_import_post" }, "Body_import_user_list_controller_system_user_import_data_post": { "properties": { "file": { "type": "string", "contentMediaType": "application/octet-stream", "title": "File" } }, "type": "object", "required": [ "file" ], "title": "Body_import_user_list_controller_system_user_import_data_post" }, "Body_login_for_access_token_controller_system_auth_login_post": { "properties": { "grant_type": { "anyOf": [ { "type": "string", "pattern": "password" }, { "type": "null" } ], "title": "Grant Type" }, "scope": { "type": "string", "title": "Scope", "default": "" }, "client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Client Id" }, "client_secret": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Client Secret" }, "username": { "type": "string", "title": "Username" }, "password": { "type": "string", "title": "Password" }, "captcha_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captcha Key", "default": "" }, "captcha": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captcha", "default": "" }, "login_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Login Type", "description": "PC端 | 移动端", "default": "PC端" } }, "type": "object", "required": [ "username", "password" ], "title": "Body_login_for_access_token_controller_system_auth_login_post" }, "Body_upload_controller_common_file_upload_post": { "properties": { "file": { "type": "string", "contentMediaType": "application/octet-stream", "title": "File" }, "target_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Target Path", "description": "目标目录路径(仅 resource 类型支持)" } }, "type": "object", "required": [ "file" ], "title": "Body_upload_controller_common_file_upload_post" }, "Body_upload_file_controller_monitor_resource_upload_post": { "properties": { "file": { "type": "string", "contentMediaType": "application/octet-stream", "title": "File" }, "target_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Target Path", "description": "目标目录路径" } }, "type": "object", "required": [ "file" ], "title": "Body_upload_file_controller_monitor_resource_upload_post" }, "CacheInfoSchema": { "properties": { "cache_key": { "type": "string", "title": "Cache Key", "description": "缓存键名" }, "cache_name": { "type": "string", "title": "Cache Name", "description": "缓存名称" }, "cache_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Cache Value", "description": "缓存值" }, "remark": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Remark", "description": "备注说明" } }, "type": "object", "required": [ "cache_key", "cache_name" ], "title": "CacheInfoSchema", "description": "缓存对象信息模型" }, "CacheMonitorSchema": { "properties": { "command_stats": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Command Stats", "description": "Redis命令统计信息" }, "db_size": { "type": "integer", "title": "Db Size", "description": "Redis数据库中的Key总数", "default": 0 }, "info": { "additionalProperties": true, "type": "object", "title": "Info", "description": "Redis服务器信息" } }, "type": "object", "title": "CacheMonitorSchema", "description": "缓存监控信息模型" }, "CaptchaOutSchema": { "properties": { "enable": { "type": "boolean", "title": "Enable", "description": "是否启用验证码", "default": true }, "key": { "type": "string", "minLength": 1, "title": "Key", "description": "验证码唯一标识" }, "img_base": { "type": "string", "minLength": 1, "title": "Img Base", "description": "Base64编码的验证码图片" } }, "type": "object", "required": [ "key", "img_base" ], "title": "CaptchaOutSchema", "description": "验证码响应模型" }, "ChatSessionCreateSchema": { "properties": { "title": { "type": "string", "maxLength": 200, "minLength": 1, "title": "Title", "description": "会话标题" } }, "type": "object", "required": [ "title" ], "title": "ChatSessionCreateSchema", "description": "创建会话模型" }, "ChatSessionUpdateSchema": { "properties": { "title": { "type": "string", "maxLength": 200, "minLength": 1, "title": "Title", "description": "会话标题" } }, "type": "object", "required": [ "title" ], "title": "ChatSessionUpdateSchema", "description": "更新会话模型" }, "CommonSchema": { "properties": { "id": { "type": "integer", "title": "Id", "description": "编号ID" }, "name": { "type": "string", "title": "Name", "description": "名称" } }, "type": "object", "required": [ "id", "name" ], "title": "CommonSchema", "description": "通用信息模型" }, "CpuInfoSchema": { "properties": { "cpu_num": { "type": "integer", "title": "Cpu Num", "description": "CPU核心数" }, "used": { "type": "number", "maximum": 100, "minimum": 0, "title": "Used", "description": "CPU用户使用率(%)" }, "sys": { "type": "number", "maximum": 100, "minimum": 0, "title": "Sys", "description": "CPU系统使用率(%)" }, "free": { "type": "number", "maximum": 100, "minimum": 0, "title": "Free", "description": "CPU空闲率(%)" } }, "type": "object", "required": [ "cpu_num", "used", "sys", "free" ], "title": "CpuInfoSchema", "description": "CPU信息模型" }, "CurrentUserUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Name", "description": "名称" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" }, "email": { "anyOf": [ { "type": "string", "format": "email" }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "gender": { "anyOf": [ { "type": "string", "maxLength": 1 }, { "type": "null" } ], "title": "Gender", "description": "性别(0:男 1:女 2:未知)" }, "avatar": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Avatar", "description": "头像" } }, "type": "object", "title": "CurrentUserUpdateSchema", "description": "基础用户信息" }, "DemoCreateSchema": { "properties": { "name": { "type": "string", "title": "Name", "description": "名称" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "是否启用(0:启用 1:禁用)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "int_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Int Val", "description": "整数" }, "bigint_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Bigint Val", "description": "大整数" }, "float_val": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Float Val", "description": "浮点数" }, "bool_val": { "type": "boolean", "title": "Bool Val", "description": "布尔型", "default": true }, "date_val": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "title": "Date Val", "description": "日期" }, "time_val": { "anyOf": [ { "type": "string", "format": "time" }, { "type": "null" } ], "title": "Time Val", "description": "时间" }, "datetime_val": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Datetime Val", "description": "日期时间" }, "text_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Text Val", "description": "长文本" }, "json_val": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Json Val", "description": "元数据(JSON格式)" } }, "type": "object", "required": [ "name" ], "title": "DemoCreateSchema", "description": "新增模型" }, "DemoOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "title": "Name", "description": "名称" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "是否启用(0:启用 1:禁用)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "int_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Int Val", "description": "整数" }, "bigint_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Bigint Val", "description": "大整数" }, "float_val": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Float Val", "description": "浮点数" }, "bool_val": { "type": "boolean", "title": "Bool Val", "description": "布尔型", "default": true }, "date_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Date Val", "description": "日期" }, "time_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Time Val", "description": "时间" }, "datetime_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Datetime Val", "description": "日期时间" }, "text_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Text Val", "description": "长文本" }, "json_val": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Json Val", "description": "元数据(JSON格式)" } }, "type": "object", "required": [ "name" ], "title": "DemoOutSchema", "description": "响应模型" }, "DemoUpdateSchema": { "properties": { "name": { "type": "string", "title": "Name", "description": "名称" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "是否启用(0:启用 1:禁用)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "int_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Int Val", "description": "整数" }, "bigint_val": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Bigint Val", "description": "大整数" }, "float_val": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Float Val", "description": "浮点数" }, "bool_val": { "type": "boolean", "title": "Bool Val", "description": "布尔型", "default": true }, "date_val": { "anyOf": [ { "type": "string", "format": "date" }, { "type": "null" } ], "title": "Date Val", "description": "日期" }, "time_val": { "anyOf": [ { "type": "string", "format": "time" }, { "type": "null" } ], "title": "Time Val", "description": "时间" }, "datetime_val": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Datetime Val", "description": "日期时间" }, "text_val": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Text Val", "description": "长文本" }, "json_val": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Json Val", "description": "元数据(JSON格式)" } }, "type": "object", "required": [ "name" ], "title": "DemoUpdateSchema", "description": "更新模型" }, "DependencyStatus": { "properties": { "status": { "type": "string", "title": "Status", "description": "状态" }, "latency_ms": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Latency Ms", "description": "延迟(毫秒)" } }, "type": "object", "required": [ "status" ], "title": "DependencyStatus", "description": "依赖状态" }, "DeptCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "部门名称" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示顺序", "default": 1 }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "部门编码" }, "leader": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Leader", "description": "部门负责人" }, "phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Phone", "description": "联系电话" }, "email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Parent Id", "description": "父部门ID" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "name", "code" ], "title": "DeptCreateSchema", "description": "部门创建模型" }, "DeptOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "部门名称" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示顺序", "default": 1 }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "部门编码" }, "leader": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Leader", "description": "部门负责人" }, "phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Phone", "description": "联系电话" }, "email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Parent Id", "description": "父部门ID" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" }, "parent_name": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Parent Name", "description": "父部门名称" } }, "type": "object", "required": [ "name", "code" ], "title": "DeptOutSchema", "description": "部门详情响应模型(不含 children,用于详情和更新)" }, "DeptUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "部门名称" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示顺序", "default": 1 }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "部门编码" }, "leader": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Leader", "description": "部门负责人" }, "phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Phone", "description": "联系电话" }, "email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Parent Id", "description": "父部门ID" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "name", "code" ], "title": "DeptUpdateSchema", "description": "部门更新模型" }, "DictDataCreateSchema": { "properties": { "dict_sort": { "type": "integer", "maximum": 999, "minimum": 1, "title": "Dict Sort", "description": "排序" }, "dict_label": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Label", "description": "字典标签" }, "dict_value": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Value", "description": "字典键值" }, "dict_type": { "type": "string", "maxLength": 255, "title": "Dict Type", "description": "字典类型" }, "dict_type_id": { "type": "integer", "exclusiveMinimum": 0, "title": "Dict Type Id", "description": "字典类型ID" }, "css_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Css Class", "description": "样式属性" }, "list_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "List Class", "description": "表格回显样式" }, "is_default": { "type": "boolean", "title": "Is Default", "description": "是否默认", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_sort", "dict_label", "dict_value", "dict_type", "dict_type_id" ], "title": "DictDataCreateSchema", "description": "字典数据表对应pydantic模型" }, "DictDataOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "dict_sort": { "type": "integer", "maximum": 999, "minimum": 1, "title": "Dict Sort", "description": "排序" }, "dict_label": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Label", "description": "字典标签" }, "dict_value": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Value", "description": "字典键值" }, "dict_type": { "type": "string", "maxLength": 255, "title": "Dict Type", "description": "字典类型" }, "dict_type_id": { "type": "integer", "exclusiveMinimum": 0, "title": "Dict Type Id", "description": "字典类型ID" }, "css_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Css Class", "description": "样式属性" }, "list_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "List Class", "description": "表格回显样式" }, "is_default": { "type": "boolean", "title": "Is Default", "description": "是否默认", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_sort", "dict_label", "dict_value", "dict_type", "dict_type_id" ], "title": "DictDataOutSchema", "description": "字典数据响应模型" }, "DictDataUpdateSchema": { "properties": { "dict_sort": { "type": "integer", "maximum": 999, "minimum": 1, "title": "Dict Sort", "description": "排序" }, "dict_label": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Label", "description": "字典标签" }, "dict_value": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Value", "description": "字典键值" }, "dict_type": { "type": "string", "maxLength": 255, "title": "Dict Type", "description": "字典类型" }, "dict_type_id": { "type": "integer", "exclusiveMinimum": 0, "title": "Dict Type Id", "description": "字典类型ID" }, "css_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Css Class", "description": "样式属性" }, "list_class": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "List Class", "description": "表格回显样式" }, "is_default": { "type": "boolean", "title": "Is Default", "description": "是否默认", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_sort", "dict_label", "dict_value", "dict_type", "dict_type_id" ], "title": "DictDataUpdateSchema", "description": "字典数据更新模型" }, "DictTypeCreateSchema": { "properties": { "dict_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Dict Name", "description": "字典名称" }, "dict_type": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Type", "description": "字典类型编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_name", "dict_type" ], "title": "DictTypeCreateSchema", "description": "字典类型表对应pydantic模型" }, "DictTypeOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "dict_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Dict Name", "description": "字典名称" }, "dict_type": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Type", "description": "字典类型编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_name", "dict_type" ], "title": "DictTypeOutSchema", "description": "字典类型响应模型" }, "DictTypeUpdateSchema": { "properties": { "dict_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Dict Name", "description": "字典名称" }, "dict_type": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Dict Type", "description": "字典类型编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "dict_name", "dict_type" ], "title": "DictTypeUpdateSchema", "description": "字典类型更新模型" }, "DiskInfoSchema": { "properties": { "dir_name": { "type": "string", "title": "Dir Name", "description": "磁盘路径" }, "sys_type_name": { "type": "string", "title": "Sys Type Name", "description": "文件系统类型" }, "type_name": { "type": "string", "title": "Type Name", "description": "磁盘类型" }, "total": { "type": "string", "title": "Total", "description": "总容量" }, "used": { "type": "string", "title": "Used", "description": "已用容量" }, "free": { "type": "string", "title": "Free", "description": "可用容量" }, "usage": { "type": "number", "maximum": 100, "minimum": 0, "title": "Usage", "description": "使用率(%)" } }, "type": "object", "required": [ "dir_name", "sys_type_name", "type_name", "total", "used", "free", "usage" ], "title": "DiskInfoSchema", "description": "磁盘信息模型" }, "EmailConfigCreateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "配置名称" }, "smtp_host": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Host", "description": "SMTP 服务器地址" }, "smtp_port": { "anyOf": [ { "type": "integer", "maximum": 65535, "minimum": 1 }, { "type": "null" } ], "title": "Smtp Port", "description": "SMTP 端口" }, "smtp_user": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp User", "description": "SMTP 登录用户名" }, "smtp_password": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Password", "description": "SMTP 授权密码" }, "from_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "From Name", "description": "发件人显示名" }, "use_tls": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Use Tls", "description": "是否启用 SSL/TLS" }, "is_default": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Default", "description": "是否设为默认配置" }, "timeout": { "anyOf": [ { "type": "integer", "maximum": 120, "minimum": 5 }, { "type": "null" } ], "title": "Timeout", "description": "连接超时(秒)" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailConfigCreateSchema", "description": "创建 SMTP 配置" }, "EmailConfigOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "配置名称" }, "smtp_host": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Host", "description": "SMTP 服务器地址" }, "smtp_port": { "anyOf": [ { "type": "integer", "maximum": 65535, "minimum": 1 }, { "type": "null" } ], "title": "Smtp Port", "description": "SMTP 端口" }, "smtp_user": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp User", "description": "SMTP 登录用户名" }, "smtp_password": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Password", "description": "SMTP 授权密码" }, "from_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "From Name", "description": "发件人显示名" }, "use_tls": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Use Tls", "description": "是否启用 SSL/TLS" }, "is_default": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Default", "description": "是否设为默认配置" }, "timeout": { "anyOf": [ { "type": "integer", "maximum": 120, "minimum": 5 }, { "type": "null" } ], "title": "Timeout", "description": "连接超时(秒)" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailConfigOutSchema", "description": "SMTP 配置响应(不含密码)" }, "EmailConfigUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "配置名称" }, "smtp_host": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Host", "description": "SMTP 服务器地址" }, "smtp_port": { "anyOf": [ { "type": "integer", "maximum": 65535, "minimum": 1 }, { "type": "null" } ], "title": "Smtp Port", "description": "SMTP 端口" }, "smtp_user": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp User", "description": "SMTP 登录用户名" }, "smtp_password": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Smtp Password", "description": "SMTP 授权密码" }, "from_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "From Name", "description": "发件人显示名" }, "use_tls": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Use Tls", "description": "是否启用 SSL/TLS" }, "is_default": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Default", "description": "是否设为默认配置" }, "timeout": { "anyOf": [ { "type": "integer", "maximum": 120, "minimum": 5 }, { "type": "null" } ], "title": "Timeout", "description": "连接超时(秒)" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailConfigUpdateSchema", "description": "更新 SMTP 配置" }, "EmailLogOutSchema": { "properties": { "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "config_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Config Id", "description": "SMTP 配置 ID" }, "template_code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Template Code", "description": "模板编码" }, "to_email": { "type": "string", "title": "To Email", "description": "收件人邮箱" }, "to_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "To Name", "description": "收件人姓名" }, "subject": { "type": "string", "title": "Subject", "description": "邮件主题" }, "biz_type": { "type": "string", "title": "Biz Type", "description": "业务类型" }, "error_msg": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Msg", "description": "错误信息" }, "retry_count": { "type": "integer", "title": "Retry Count", "description": "重试次数" }, "sent_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sent Time", "description": "发送时间" } }, "type": "object", "required": [ "to_email", "subject", "biz_type", "retry_count" ], "title": "EmailLogOutSchema", "description": "邮件日志响应" }, "EmailSendSchema": { "properties": { "to_email": { "type": "string", "maxLength": 255, "minLength": 5, "title": "To Email", "description": "收件人邮箱" }, "to_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "To Name", "description": "收件人姓名" }, "template_code": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Template Code", "description": "模板编码" }, "variables": { "additionalProperties": true, "type": "object", "title": "Variables", "description": "模板变量 {key: value}" }, "config_id": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "null" } ], "title": "Config Id", "description": "指定 SMTP 配置 ID" }, "biz_type": { "type": "string", "maxLength": 50, "title": "Biz Type", "description": "业务类型", "default": "other" } }, "type": "object", "required": [ "to_email", "template_code" ], "title": "EmailSendSchema", "description": "手动发送邮件(测试用)" }, "EmailTemplateCreateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "模板名称" }, "template_code": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Template Code", "description": "模板编码" }, "subject": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Subject", "description": "邮件主题" }, "body_html": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Html", "description": "邮件正文 HTML" }, "body_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Text", "description": "纯文本版本" }, "variables": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variables", "description": "变量说明 JSON" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailTemplateCreateSchema", "description": "创建邮件模板" }, "EmailTemplateOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "模板名称" }, "template_code": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Template Code", "description": "模板编码" }, "subject": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Subject", "description": "邮件主题" }, "body_html": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Html", "description": "邮件正文 HTML" }, "body_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Text", "description": "纯文本版本" }, "variables": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variables", "description": "变量说明 JSON" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailTemplateOutSchema", "description": "邮件模板响应" }, "EmailTemplateUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "模板名称" }, "template_code": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Template Code", "description": "模板编码" }, "subject": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Subject", "description": "邮件主题" }, "body_html": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Html", "description": "邮件正文 HTML" }, "body_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Body Text", "description": "纯文本版本" }, "variables": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variables", "description": "变量说明 JSON" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "title": "EmailTemplateUpdateSchema", "description": "更新邮件模板" }, "EmailTestSchema": { "properties": { "config_id": { "type": "integer", "exclusiveMinimum": 0, "title": "Config Id", "description": "SMTP 配置 ID" }, "to_email": { "type": "string", "maxLength": 255, "minLength": 5, "title": "To Email", "description": "测试收件人" } }, "type": "object", "required": [ "config_id", "to_email" ], "title": "EmailTestSchema", "description": "测试 SMTP 连接" }, "GenCreateTableSqlBody": { "properties": { "sql": { "type": "string", "title": "Sql", "description": "CREATE TABLE 等 DDL,可多条语句" } }, "type": "object", "required": [ "sql" ], "title": "GenCreateTableSqlBody", "description": "从代码生成页提交的建表 SQL(JSON 对象,便于与前端 axios 一致)。" }, "GenDBTableSchema": { "properties": { "database_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Database Name", "description": "数据库名称" }, "table_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Table Name", "description": "表名称" }, "table_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Table Type", "description": "表类型" }, "table_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Table Comment", "description": "表描述" } }, "type": "object", "title": "GenDBTableSchema", "description": "数据库中的表信息(跨方言统一结构)。\n- 供“导入表结构”与“同步结构”环节使用。" }, "GenSyncColumnChange": { "properties": { "column_name": { "type": "string", "title": "Column Name", "description": "列名" }, "change_fields": { "items": { "type": "string" }, "type": "array", "title": "Change Fields", "description": "变化字段名列表" }, "before": { "additionalProperties": true, "type": "object", "title": "Before", "description": "同步前(当前 gen 配置)摘要" }, "after": { "additionalProperties": true, "type": "object", "title": "After", "description": "同步后(来自 DB)摘要" } }, "type": "object", "required": [ "column_name" ], "title": "GenSyncColumnChange", "description": "同步差异:单个字段的变化项(用于预览,不落库)。" }, "GenSyncPreviewSchema": { "properties": { "table_name": { "type": "string", "title": "Table Name", "description": "表名" }, "added": { "items": { "type": "string" }, "type": "array", "title": "Added", "description": "新增列(DB有、gen无)" }, "removed": { "items": { "type": "string" }, "type": "array", "title": "Removed", "description": "删除列(gen有、DB无)" }, "changed": { "items": { "$ref": "#/components/schemas/GenSyncColumnChange" }, "type": "array", "title": "Changed", "description": "变更列(同名但属性变化)" }, "unchanged": { "type": "integer", "title": "Unchanged", "description": "未变化列数(同名且关键属性一致)", "default": 0 }, "sub_table_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub Table Name", "description": "子表表名" }, "sub": { "anyOf": [ { "$ref": "#/components/schemas/GenSyncPreviewSchema" }, { "type": "null" } ], "description": "子表差异(若配置了主子表)" } }, "type": "object", "required": [ "table_name" ], "title": "GenSyncPreviewSchema", "description": "同步数据库前的差异预览(主表 + 可选子表)。" }, "GenTableColumnOutSchema-Input": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "table_id": { "type": "integer", "title": "Table Id", "description": "归属表编号", "default": 0 }, "column_name": { "type": "string", "title": "Column Name", "description": "列名称", "default": "" }, "column_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Comment", "description": "列描述", "default": "" }, "column_type": { "type": "string", "title": "Column Type", "description": "列类型", "default": "varchar(255)" }, "column_length": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Length", "description": "列长度", "default": "" }, "column_default": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Default", "description": "列默认值", "default": "" }, "is_pk": { "type": "boolean", "title": "Is Pk", "description": "是否主键(True是 False否)", "default": false }, "is_increment": { "type": "boolean", "title": "Is Increment", "description": "是否自增(True是 False否)", "default": false }, "is_nullable": { "type": "boolean", "title": "Is Nullable", "description": "是否允许为空(True是 False否)", "default": true }, "is_unique": { "type": "boolean", "title": "Is Unique", "description": "是否唯一(True是 False否)", "default": false }, "python_type": { "type": "string", "title": "Python Type", "description": "python类型", "default": "str" }, "python_field": { "type": "string", "title": "Python Field", "description": "python字段名", "default": "" }, "is_insert": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Insert", "description": "是否为新增字段(True是 False否)" }, "is_edit": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Edit", "description": "是否编辑字段(True是 False否)" }, "is_list": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is List", "description": "是否列表字段(True是 False否)" }, "is_query": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Query", "description": "是否查询字段(True是 False否)" }, "query_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query Type", "description": "查询方式(等于、不等于、大于、小于、范围)" }, "html_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Html Type", "description": "显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)" }, "dict_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dict Type", "description": "字典类型", "default": "" }, "sort": { "type": "integer", "title": "Sort", "description": "排序", "default": 0 }, "super_column": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Super Column", "description": "是否为基类字段(1是 0否)", "default": "0" } }, "type": "object", "title": "GenTableColumnOutSchema", "description": "业务表字段输出模型" }, "GenTableColumnOutSchema-Output": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "table_id": { "type": "integer", "title": "Table Id", "description": "归属表编号", "default": 0 }, "column_name": { "type": "string", "title": "Column Name", "description": "列名称", "default": "" }, "column_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Comment", "description": "列描述", "default": "" }, "column_type": { "type": "string", "title": "Column Type", "description": "列类型", "default": "varchar(255)" }, "column_length": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Length", "description": "列长度", "default": "" }, "column_default": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Column Default", "description": "列默认值", "default": "" }, "is_pk": { "type": "boolean", "title": "Is Pk", "description": "是否主键(True是 False否)", "default": false }, "is_increment": { "type": "boolean", "title": "Is Increment", "description": "是否自增(True是 False否)", "default": false }, "is_nullable": { "type": "boolean", "title": "Is Nullable", "description": "是否允许为空(True是 False否)", "default": true }, "is_unique": { "type": "boolean", "title": "Is Unique", "description": "是否唯一(True是 False否)", "default": false }, "python_type": { "type": "string", "title": "Python Type", "description": "python类型", "default": "str" }, "python_field": { "type": "string", "title": "Python Field", "description": "python字段名", "default": "" }, "is_insert": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Insert", "description": "是否为新增字段(True是 False否)" }, "is_edit": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Edit", "description": "是否编辑字段(True是 False否)" }, "is_list": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is List", "description": "是否列表字段(True是 False否)" }, "is_query": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Query", "description": "是否查询字段(True是 False否)" }, "query_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query Type", "description": "查询方式(等于、不等于、大于、小于、范围)" }, "html_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Html Type", "description": "显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)" }, "dict_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dict Type", "description": "字典类型", "default": "" }, "sort": { "type": "integer", "title": "Sort", "description": "排序", "default": 0 }, "super_column": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Super Column", "description": "是否为基类字段(1是 0否)", "default": "0" } }, "type": "object", "title": "GenTableColumnOutSchema", "description": "业务表字段输出模型" }, "GenTableOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "table_name": { "type": "string", "title": "Table Name", "description": "表名称" }, "table_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Table Comment", "description": "表描述" }, "class_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Name", "description": "实体类名称" }, "package_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Package Name", "description": "生成包路径" }, "module_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Module Name", "description": "生成模块名" }, "business_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Business Name", "description": "功能子目录/路由段;导入时默认表名;同 module_name 下多表须不同。可含斜杠表示嵌套,参考 module_example:demo、demo/subdir、gen_demo。" }, "function_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Function Name", "description": "生成功能名" }, "sub_table_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub Table Name", "description": "关联子表的表名" }, "sub_table_fk_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub Table Fk Name", "description": "子表关联的外键名" }, "parent_menu_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Parent Menu Id", "description": "写入本地须选目录类型。有值:侧栏 上级/短包名/功能/按钮,页面路由 /包名/业务名。留空:侧栏 module_包名/功能/按钮,页面路由 /module_包名/业务名(与 plugin 一致);后端 HTTP 接口仍为 /短名(module_xxx→/xxx)。" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "columns": { "anyOf": [ { "items": { "$ref": "#/components/schemas/GenTableColumnOutSchema-Output" }, "type": "array" }, { "type": "null" } ], "title": "Columns", "description": "表列信息" }, "pk_column": { "anyOf": [ { "$ref": "#/components/schemas/GenTableColumnOutSchema-Output" }, { "type": "null" } ], "description": "主键信息" }, "sub_table": { "anyOf": [ { "$ref": "#/components/schemas/GenTableOutSchema" }, { "type": "null" } ], "description": "子表信息" }, "sub": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Sub", "description": "是否为子表" }, "master_sub_hint": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Master Sub Hint", "description": "主子表配置说明或异常提示(仅接口输出,不落库)" } }, "type": "object", "required": [ "table_name" ], "title": "GenTableOutSchema", "description": "业务表输出模型(面向控制器/前端)。" }, "GenTableSchema": { "properties": { "table_name": { "type": "string", "title": "Table Name", "description": "表名称" }, "table_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Table Comment", "description": "表描述" }, "class_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Class Name", "description": "实体类名称" }, "package_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Package Name", "description": "生成包路径" }, "module_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Module Name", "description": "生成模块名" }, "business_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Business Name", "description": "功能子目录/路由段;导入时默认表名;同 module_name 下多表须不同。可含斜杠表示嵌套,参考 module_example:demo、demo/subdir、gen_demo。" }, "function_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Function Name", "description": "生成功能名" }, "sub_table_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub Table Name", "description": "关联子表的表名" }, "sub_table_fk_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub Table Fk Name", "description": "子表关联的外键名" }, "parent_menu_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Parent Menu Id", "description": "写入本地须选目录类型。有值:侧栏 上级/短包名/功能/按钮,页面路由 /包名/业务名。留空:侧栏 module_包名/功能/按钮,页面路由 /module_包名/业务名(与 plugin 一致);后端 HTTP 接口仍为 /短名(module_xxx→/xxx)。" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "columns": { "anyOf": [ { "items": { "$ref": "#/components/schemas/GenTableColumnOutSchema-Input" }, "type": "array" }, { "type": "null" } ], "title": "Columns", "description": "表列信息" } }, "type": "object", "required": [ "table_name" ], "title": "GenTableSchema", "description": "代码生成业务表更新模型(扩展聚合字段)。\n- 聚合:`columns`字段包含字段列表;`pk_column`主键字段;子表结构`sub_table`。" }, "HealthOut": { "properties": { "status": { "type": "string", "title": "Status", "description": "状态" }, "timestamp": { "type": "string", "title": "Timestamp", "description": "时间戳" }, "version": { "type": "string", "title": "Version", "description": "版本号" }, "uptime_seconds": { "type": "number", "title": "Uptime Seconds", "description": "运行时间(秒)" } }, "type": "object", "required": [ "status", "timestamp", "version", "uptime_seconds" ], "title": "HealthOut", "description": "基础健康检查响应" }, "InvoiceApplySchema": { "properties": { "order_id": { "type": "integer", "title": "Order Id", "description": "订单 ID" }, "invoice_type": { "$ref": "#/components/schemas/InvoiceTypeEnum" }, "title": { "type": "string", "maxLength": 200, "title": "Title", "description": "发票抬头" }, "tax_no": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Tax No", "description": "纳税人识别号" }, "bank_info": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Bank Info", "description": "开户行及账号" }, "address_info": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Address Info", "description": "注册地址及电话" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "order_id", "invoice_type", "title" ], "title": "InvoiceApplySchema", "description": "申请开票" }, "InvoiceIssueSchema": { "properties": { "api_response": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Api Response", "description": "第三方 API 响应(手动填入)" }, "pdf_url": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Pdf Url", "description": "发票 PDF 下载地址" }, "oss_license_pdf_url": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Oss License Pdf Url", "description": "开源授权函 PDF 下载地址" } }, "type": "object", "title": "InvoiceIssueSchema", "description": "超管开票" }, "InvoiceOutSchema": { "properties": { "tenant_id": { "type": "integer", "title": "Tenant Id", "description": "租户 ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "invoice_no": { "type": "string", "title": "Invoice No", "description": "发票号码" }, "order_id": { "type": "integer", "title": "Order Id", "description": "关联订单 ID" }, "invoice_type": { "$ref": "#/components/schemas/InvoiceTypeEnum" }, "title": { "type": "string", "maxLength": 200, "title": "Title", "description": "发票抬头" }, "tax_no": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Tax No", "description": "纳税人识别号" }, "bank_info": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Bank Info", "description": "开户行及账号" }, "address_info": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Address Info", "description": "注册地址及电话" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "发票金额(分)" }, "tax_amount": { "type": "integer", "minimum": 0, "title": "Tax Amount", "description": "税额(分)", "default": 0 }, "status": { "type": "integer", "maximum": 3, "minimum": 0, "title": "Status", "description": "状态(0:待开票 1:已开票 2:开票失败 3:已作废)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" }, "pdf_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pdf Url", "description": "发票 PDF 下载地址" }, "oss_license_pdf_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Oss License Pdf Url", "description": "开源授权函 PDF 下载地址" }, "api_response": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Api Response", "description": "第三方 API 响应" } }, "type": "object", "required": [ "tenant_id", "invoice_no", "order_id", "invoice_type", "title", "amount" ], "title": "InvoiceOutSchema", "description": "发票响应" }, "InvoiceTypeEnum": { "type": "string", "enum": [ "vat_normal", "vat_special" ], "title": "InvoiceTypeEnum", "description": "发票类型" }, "InvoiceVoidSchema": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "作废原因" } }, "type": "object", "title": "InvoiceVoidSchema", "description": "作废发票" }, "JWTOutSchema": { "properties": { "access_token": { "type": "string", "minLength": 1, "title": "Access Token", "description": "访问token" }, "refresh_token": { "type": "string", "minLength": 1, "title": "Refresh Token", "description": "刷新token" }, "token_type": { "type": "string", "title": "Token Type", "description": "token类型", "default": "Bearer" }, "expires_in": { "type": "integer", "exclusiveMinimum": 0, "title": "Expires In", "description": "过期时间(秒)" } }, "type": "object", "required": [ "access_token", "refresh_token", "expires_in" ], "title": "JWTOutSchema", "description": "JWT响应模型" }, "JobOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "job_id": { "type": "string", "maxLength": 64, "title": "Job Id", "description": "任务ID" }, "job_name": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Job Name", "description": "任务名称" }, "trigger_type": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Trigger Type", "description": "触发方式" }, "status": { "type": "string", "maxLength": 16, "title": "Status", "description": "执行状态", "default": "pending" }, "next_run_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Run Time", "description": "下次执行时间" }, "job_state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Job State", "description": "任务状态信息" }, "result": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Result", "description": "执行结果" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error", "description": "错误信息" } }, "type": "object", "required": [ "job_id" ], "title": "JobOutSchema", "description": "执行日志响应模型" }, "LoginLogCreateSchema": { "properties": { "username": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Username", "description": "用户名" }, "status": { "type": "integer", "maximum": 2, "minimum": 1, "title": "Status", "description": "登录状态(1成功 2失败)", "default": 1 }, "login_ip": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Login Ip", "description": "登录IP地址" }, "login_location": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Login Location", "description": "登录位置" }, "request_os": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Os", "description": "操作系统" }, "request_browser": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Browser", "description": "浏览器" }, "msg": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Msg", "description": "提示消息" } }, "type": "object", "required": [ "username" ], "title": "LoginLogCreateSchema", "description": "新增登录日志" }, "LoginLogDetailOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "username": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Username", "description": "用户名" }, "status": { "type": "integer", "maximum": 2, "minimum": 1, "title": "Status", "description": "登录状态(1成功 2失败)", "default": 1 }, "login_ip": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Login Ip", "description": "登录IP地址" }, "login_location": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Login Location", "description": "登录位置" }, "request_os": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Os", "description": "操作系统" }, "request_browser": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Browser", "description": "浏览器" }, "msg": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Msg", "description": "提示消息" } }, "type": "object", "required": [ "username" ], "title": "LoginLogDetailOutSchema", "description": "登录日志详情响应" }, "LoginLogOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "username": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Username", "description": "用户名" }, "status": { "type": "integer", "maximum": 2, "minimum": 1, "title": "Status", "description": "登录状态(1成功 2失败)", "default": 1 }, "login_ip": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Login Ip", "description": "登录IP地址" }, "login_location": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Login Location", "description": "登录位置" }, "request_os": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Os", "description": "操作系统" }, "request_browser": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Request Browser", "description": "浏览器" }, "msg": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Msg", "description": "提示消息" } }, "type": "object", "required": [ "username" ], "title": "LoginLogOutSchema", "description": "登录日志响应" }, "LoginWithTenantsSchema": { "properties": { "access_token": { "type": "string", "minLength": 1, "title": "Access Token", "description": "访问token" }, "refresh_token": { "type": "string", "minLength": 1, "title": "Refresh Token", "description": "刷新token" }, "token_type": { "type": "string", "title": "Token Type", "description": "token类型", "default": "Bearer" }, "expires_in": { "type": "integer", "exclusiveMinimum": 0, "title": "Expires In", "description": "过期时间(秒)" }, "tenants": { "items": { "$ref": "#/components/schemas/TenantOptionSchema" }, "type": "array", "title": "Tenants", "description": "可选租户列表" }, "user_info": { "additionalProperties": true, "type": "object", "title": "User Info", "description": "用户信息" } }, "type": "object", "required": [ "access_token", "refresh_token", "expires_in" ], "title": "LoginWithTenantsSchema", "description": "登录响应(含租户列表)" }, "LogoutPayloadSchema": { "properties": { "token": { "type": "string", "minLength": 1, "title": "Token", "description": "token" } }, "type": "object", "required": [ "token" ], "title": "LogoutPayloadSchema", "description": "退出登录载荷模型" }, "MemoryInfoSchema": { "properties": { "total": { "type": "string", "title": "Total", "description": "内存总量" }, "used": { "type": "string", "title": "Used", "description": "已用内存" }, "free": { "type": "string", "title": "Free", "description": "剩余内存" }, "usage": { "type": "number", "maximum": 100, "minimum": 0, "title": "Usage", "description": "使用率(%)" } }, "type": "object", "required": [ "total", "used", "free", "usage" ], "title": "MemoryInfoSchema", "description": "内存信息模型" }, "MenuCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 50, "minLength": 1, "title": "Name", "description": "菜单名称" }, "type": { "type": "integer", "maximum": 4, "minimum": 1, "title": "Type", "description": "菜单类型(1:目录 2:菜单 3:按钮 4:外链)" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示顺序" }, "permission": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission", "description": "权限标识" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Icon", "description": "菜单图标" }, "route_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Route Name", "description": "路由名称" }, "route_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Route Path", "description": "路由地址" }, "component_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Component Path", "description": "组件路径" }, "redirect": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Redirect", "description": "重定向地址" }, "hidden": { "type": "boolean", "title": "Hidden", "description": "是否隐藏", "default": false }, "keep_alive": { "type": "boolean", "title": "Keep Alive", "description": "是否缓存", "default": true }, "always_show": { "type": "boolean", "title": "Always Show", "description": "是否始终显示", "default": false }, "title": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Title", "description": "菜单标题" }, "params": { "anyOf": [ { "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Params", "description": "路由参数,格式为[{key: string, value: string}]" }, "affix": { "type": "boolean", "title": "Affix", "description": "是否固定标签页", "default": false }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Parent Id", "description": "父菜单ID" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "client": { "type": "string", "enum": [ "pc", "app" ], "title": "Client", "description": "终端(pc:管理端桌面 app:移动端)", "default": "pc" }, "link": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Link", "description": "外链地址(仅type=4)" }, "is_iframe": { "type": "boolean", "title": "Is Iframe", "description": "是否嵌入iframe", "default": false }, "is_hide_tab": { "type": "boolean", "title": "Is Hide Tab", "description": "是否隐藏标签页", "default": false }, "active_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Active Path", "description": "激活菜单路径" }, "show_badge": { "type": "boolean", "title": "Show Badge", "description": "是否显示红点角标", "default": false }, "show_text_badge": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Show Text Badge", "description": "文字角标内容" }, "scope": { "type": "string", "enum": [ "platform", "tenant" ], "title": "Scope", "description": "菜单可见范围(platform:仅平台 tenant:租户可用)", "default": "tenant" } }, "type": "object", "required": [ "name", "type", "order" ], "title": "MenuCreateSchema", "description": "菜单创建模型" }, "MenuOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 50, "minLength": 1, "title": "Name", "description": "菜单名称" }, "type": { "type": "integer", "maximum": 4, "minimum": 1, "title": "Type", "description": "菜单类型(1:目录 2:菜单 3:按钮 4:外链)" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示顺序" }, "permission": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission", "description": "权限标识" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Icon", "description": "菜单图标" }, "route_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Route Name", "description": "路由名称" }, "route_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Route Path", "description": "路由地址" }, "component_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Component Path", "description": "组件路径" }, "redirect": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Redirect", "description": "重定向地址" }, "hidden": { "type": "boolean", "title": "Hidden", "description": "是否隐藏", "default": false }, "keep_alive": { "type": "boolean", "title": "Keep Alive", "description": "是否缓存", "default": true }, "always_show": { "type": "boolean", "title": "Always Show", "description": "是否始终显示", "default": false }, "title": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Title", "description": "菜单标题" }, "params": { "anyOf": [ { "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Params", "description": "路由参数,格式为[{key: string, value: string}]" }, "affix": { "type": "boolean", "title": "Affix", "description": "是否固定标签页", "default": false }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Parent Id", "description": "父菜单ID" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "client": { "type": "string", "enum": [ "pc", "app" ], "title": "Client", "description": "终端(pc:管理端桌面 app:移动端)", "default": "pc" }, "link": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Link", "description": "外链地址(仅type=4)" }, "is_iframe": { "type": "boolean", "title": "Is Iframe", "description": "是否嵌入iframe", "default": false }, "is_hide_tab": { "type": "boolean", "title": "Is Hide Tab", "description": "是否隐藏标签页", "default": false }, "active_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Active Path", "description": "激活菜单路径" }, "show_badge": { "type": "boolean", "title": "Show Badge", "description": "是否显示红点角标", "default": false }, "show_text_badge": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Show Text Badge", "description": "文字角标内容" }, "scope": { "type": "string", "enum": [ "platform", "tenant" ], "title": "Scope", "description": "菜单可见范围(platform:仅平台 tenant:租户可用)", "default": "tenant" }, "parent_name": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Parent Name", "description": "父菜单名称" } }, "type": "object", "required": [ "name", "type", "order" ], "title": "MenuOutSchema", "description": "菜单详情响应模型(不含 children,用于详情和更新)" }, "MenuUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 50, "minLength": 1 }, { "type": "null" } ], "title": "Name", "description": "菜单名称" }, "type": { "anyOf": [ { "type": "integer", "maximum": 4, "minimum": 1 }, { "type": "null" } ], "title": "Type", "description": "菜单类型(1:目录 2:菜单 3:按钮 4:外链)" }, "order": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Order", "description": "显示顺序" }, "permission": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission", "description": "权限标识" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Icon", "description": "菜单图标" }, "route_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Route Name", "description": "路由名称" }, "route_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Route Path", "description": "路由地址" }, "component_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Component Path", "description": "组件路径" }, "redirect": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Redirect", "description": "重定向地址" }, "hidden": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Hidden", "description": "是否隐藏" }, "keep_alive": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Keep Alive", "description": "是否缓存" }, "always_show": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Always Show", "description": "是否始终显示" }, "title": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Title", "description": "菜单标题" }, "params": { "anyOf": [ { "items": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Params", "description": "路由参数" }, "affix": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Affix", "description": "是否固定标签页" }, "parent_id": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Parent Id", "description": "父菜单ID" }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "client": { "anyOf": [ { "type": "string", "enum": [ "pc", "app" ] }, { "type": "null" } ], "title": "Client", "description": "终端(pc:管理端桌面 app:移动端)" }, "link": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Link", "description": "外链地址(仅type=4)" }, "is_iframe": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Iframe", "description": "是否嵌入iframe" }, "is_hide_tab": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Hide Tab", "description": "是否隐藏标签页" }, "active_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Active Path", "description": "激活菜单路径" }, "show_badge": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Show Badge", "description": "是否显示红点角标" }, "show_text_badge": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Show Text Badge", "description": "文字角标内容" }, "scope": { "anyOf": [ { "type": "string", "enum": [ "platform", "tenant" ] }, { "type": "null" } ], "title": "Scope", "description": "菜单可见范围(platform:仅平台 tenant:租户可用)" }, "parent_name": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Parent Name", "description": "父菜单名称" } }, "type": "object", "title": "MenuUpdateSchema", "description": "菜单更新模型 — 所有字段可选" }, "NodeCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "title": "Name", "description": "任务名称" }, "func": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Func", "description": "代码块" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "关键字参数" }, "coalesce": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Coalesce", "description": "是否合并运行:是否在多个运行时间到期时仅运行作业一次", "default": false }, "max_instances": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Max Instances", "description": "最大实例数:允许的最大并发执行实例数", "default": 1 }, "jobstore": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Jobstore", "description": "任务存储", "default": "default" }, "executor": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Executor", "description": "任务执行器:将运行此作业的执行程序的名称", "default": "default" }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Date", "description": "开始时间" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Date", "description": "结束时间" }, "code": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Code", "description": "节点编码" } }, "type": "object", "required": [ "name" ], "title": "NodeCreateSchema", "description": "节点创建/编辑时只设置节点基本信息,节点参数在执行时设置" }, "NodeExecuteSchema": { "properties": { "trigger": { "type": "string", "title": "Trigger", "description": "触发方式: now/cron/interval/date", "default": "now" }, "trigger_args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Trigger Args", "description": "触发器参数" }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Date", "description": "开始时间" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Date", "description": "结束时间" } }, "type": "object", "title": "NodeExecuteSchema", "description": "节点执行参数" }, "NodeOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 64, "title": "Name", "description": "任务名称" }, "func": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Func", "description": "代码块" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "关键字参数" }, "coalesce": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Coalesce", "description": "是否合并运行:是否在多个运行时间到期时仅运行作业一次", "default": false }, "max_instances": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Max Instances", "description": "最大实例数:允许的最大并发执行实例数", "default": 1 }, "jobstore": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Jobstore", "description": "任务存储", "default": "default" }, "executor": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Executor", "description": "任务执行器:将运行此作业的执行程序的名称", "default": "default" }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Date", "description": "开始时间" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Date", "description": "结束时间" }, "code": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Code", "description": "节点编码" }, "trigger": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Trigger", "description": "触发器" }, "trigger_args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Trigger Args", "description": "触发器参数" } }, "type": "object", "required": [ "name" ], "title": "NodeOutSchema", "description": "节点响应模型" }, "NodeUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "title": "Name", "description": "任务名称" }, "func": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Func", "description": "代码块" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "关键字参数" }, "coalesce": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Coalesce", "description": "是否合并运行:是否在多个运行时间到期时仅运行作业一次", "default": false }, "max_instances": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Max Instances", "description": "最大实例数:允许的最大并发执行实例数", "default": 1 }, "jobstore": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Jobstore", "description": "任务存储", "default": "default" }, "executor": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Executor", "description": "任务执行器:将运行此作业的执行程序的名称", "default": "default" }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Date", "description": "开始时间" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Date", "description": "结束时间" }, "code": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Code", "description": "节点编码" } }, "type": "object", "required": [ "name" ], "title": "NodeUpdateSchema", "description": "节点更新模型" }, "NoticeCreateSchema": { "properties": { "notice_title": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Notice Title", "description": "公告标题" }, "notice_type": { "type": "string", "maxLength": 1, "title": "Notice Type", "description": "公告类型(1:通知 2:公告)" }, "notice_content": { "anyOf": [ { "type": "string", "maxLength": 65535 }, { "type": "null" } ], "title": "Notice Content", "description": "公告内容" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "notice_title", "notice_type" ], "title": "NoticeCreateSchema", "description": "公告通知创建模型" }, "NoticeOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "notice_title": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Notice Title", "description": "公告标题" }, "notice_type": { "type": "string", "maxLength": 1, "title": "Notice Type", "description": "公告类型(1:通知 2:公告)" }, "notice_content": { "anyOf": [ { "type": "string", "maxLength": 65535 }, { "type": "null" } ], "title": "Notice Content", "description": "公告内容" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "notice_title", "notice_type" ], "title": "NoticeOutSchema", "description": "公告通知响应模型" }, "NoticeUpdateSchema": { "properties": { "notice_title": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Notice Title", "description": "公告标题" }, "notice_type": { "type": "string", "maxLength": 1, "title": "Notice Type", "description": "公告类型(1:通知 2:公告)" }, "notice_content": { "anyOf": [ { "type": "string", "maxLength": 65535 }, { "type": "null" } ], "title": "Notice Content", "description": "公告内容" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "notice_title", "notice_type" ], "title": "NoticeUpdateSchema", "description": "公告通知更新模型" }, "OnlineOutSchema": { "properties": { "name": { "type": "string", "title": "Name", "description": "用户名称" }, "session_id": { "type": "string", "title": "Session Id", "description": "会话编号" }, "user_id": { "type": "integer", "title": "User Id", "description": "用户ID" }, "tenant_id": { "type": "integer", "title": "Tenant Id", "description": "租户ID" }, "is_superuser": { "type": "boolean", "title": "Is Superuser", "description": "是否为超级管理员", "default": false }, "user_name": { "type": "string", "title": "User Name", "description": "用户名" }, "ipaddr": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ipaddr", "description": "登陆IP地址" }, "login_location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Login Location", "description": "登录所属地" }, "os": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Os", "description": "操作系统" }, "browser": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Browser", "description": "浏览器" }, "login_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Login Time", "description": "登录时间" }, "login_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Login Type", "description": "登录类型 PC端 | 移动端" } }, "type": "object", "required": [ "name", "session_id", "user_id", "tenant_id", "user_name" ], "title": "OnlineOutSchema", "description": "在线用户对应pydantic模型" }, "OperationLogCreateSchema": { "properties": { "request_path": { "type": "string", "maxLength": 255, "minLength": 1, "title": "Request Path", "description": "请求路径" }, "request_method": { "type": "string", "title": "Request Method", "description": "请求方式" }, "request_payload": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Request Payload", "description": "请求体" }, "response_code": { "type": "integer", "maximum": 599, "minimum": 100, "title": "Response Code", "description": "响应状态码", "default": 200 }, "response_json": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Response Json", "description": "响应体" }, "process_time": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Process Time", "description": "处理时间" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "request_path", "request_method" ], "title": "OperationLogCreateSchema" }, "OperationLogDetailOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "status": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "request_path": { "type": "string", "title": "Request Path", "description": "请求路径" }, "request_method": { "type": "string", "title": "Request Method", "description": "请求方式" }, "response_code": { "type": "integer", "title": "Response Code", "description": "响应状态码" }, "process_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Process Time", "description": "处理时间" }, "request_payload": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Request Payload", "description": "请求体" }, "response_json": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Response Json", "description": "响应体" } }, "type": "object", "required": [ "request_path", "request_method", "response_code" ], "title": "OperationLogDetailOutSchema", "description": "操作日志详情响应模型" }, "OperationLogOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "status": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "request_path": { "type": "string", "title": "Request Path", "description": "请求路径" }, "request_method": { "type": "string", "title": "Request Method", "description": "请求方式" }, "response_code": { "type": "integer", "title": "Response Code", "description": "响应状态码" }, "process_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Process Time", "description": "处理时间" } }, "type": "object", "required": [ "request_path", "request_method", "response_code" ], "title": "OperationLogOutSchema", "description": "操作日志响应模型" }, "OrderCreateSchema": { "properties": { "tenant_id": { "type": "integer", "minimum": 1, "title": "Tenant Id", "description": "租户ID" }, "package_id": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Package Id", "description": "套餐ID(套餐订单必填)" }, "plugin_id": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Plugin Id", "description": "插件ID(插件订单必填)" }, "order_type": { "type": "string", "enum": [ "new", "renew", "upgrade", "downgrade", "plugin" ], "title": "Order Type", "description": "订单类型(new:新购 renew:续费 upgrade:升级 downgrade:降级 plugin:插件)" }, "pay_method": { "anyOf": [ { "type": "string", "enum": [ "alipay", "wxpay", "free" ] }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式(留空=自动)" } }, "type": "object", "required": [ "tenant_id", "order_type" ], "title": "OrderCreateSchema", "description": "创建订单(套餐或插件)" }, "OrderOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "package_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Package Id", "description": "套餐ID" }, "plugin_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Plugin Id", "description": "插件ID" }, "order_type": { "type": "string", "title": "Order Type", "description": "订单类型" }, "amount": { "type": "integer", "title": "Amount", "description": "订单金额(分)" }, "period_count": { "type": "integer", "title": "Period Count", "description": "时长(月)" }, "pay_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式" }, "pay_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Pay Time", "description": "支付时间" }, "expire_time": { "type": "string", "format": "date-time", "title": "Expire Time", "description": "过期时间" }, "status": { "type": "integer", "title": "Status", "description": "订单状态(0:待支付 1:已支付 2:已取消 3:已退款)" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "order_no", "order_type", "amount", "period_count", "expire_time", "status" ], "title": "OrderOutSchema", "description": "订单输出" }, "OrderStatusMessage": { "properties": { "id": { "type": "integer", "title": "Id", "description": "订单/退款ID" }, "status": { "type": "integer", "title": "Status", "description": "状态" }, "message": { "type": "string", "title": "Message", "description": "消息" } }, "type": "object", "required": [ "id", "status", "message" ], "title": "OrderStatusMessage", "description": "订单/退款操作结果消息" }, "OrderTypeEnum": { "type": "string", "enum": [ "new", "renew", "upgrade", "downgrade", "plugin" ], "title": "OrderTypeEnum", "description": "订单类型" }, "PackageAvailableItem": { "properties": { "id": { "type": "integer", "title": "Id", "description": "套餐ID" }, "name": { "type": "string", "title": "Name", "description": "套餐名称" }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分)" }, "period": { "type": "string", "title": "Period", "description": "计费周期(month/year)" }, "trial_days": { "type": "integer", "minimum": 0, "title": "Trial Days", "description": "试用天数", "default": 0 }, "max_users": { "type": "integer", "minimum": 0, "title": "Max Users", "description": "最大用户数", "default": 0 }, "max_roles": { "type": "integer", "minimum": 0, "title": "Max Roles", "description": "最大角色数", "default": 0 }, "max_depts": { "type": "integer", "minimum": 0, "title": "Max Depts", "description": "最大部门数", "default": 0 }, "max_storage_mb": { "type": "integer", "minimum": 0, "title": "Max Storage Mb", "description": "最大存储(MB)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "套餐描述" }, "is_current": { "type": "boolean", "title": "Is Current", "description": "是否为当前套餐", "default": false }, "available_actions": { "items": { "type": "string", "enum": [ "buy", "renew", "upgrade", "downgrade" ] }, "type": "array", "title": "Available Actions", "description": "可执行操作列表" } }, "type": "object", "required": [ "id", "name", "price", "period" ], "title": "PackageAvailableItem", "description": "可选套餐项" }, "PackageAvailableOut": { "properties": { "current_package_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Current Package Id", "description": "当前套餐ID" }, "packages": { "items": { "$ref": "#/components/schemas/PackageAvailableItem" }, "type": "array", "title": "Packages", "description": "可选套餐列表" } }, "type": "object", "title": "PackageAvailableOut", "description": "可选套餐列表" }, "PackageChangePreviewOut": { "properties": { "new_package_id": { "type": "integer", "title": "New Package Id", "description": "新套餐ID" }, "new_package_name": { "type": "string", "title": "New Package Name", "description": "新套餐名称", "default": "" }, "affected_roles": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Affected Roles", "description": "受影响的角色列表(名称、用户数)" }, "removed_menus": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Removed Menus", "description": "将被移除的菜单清单(名称、路径)" }, "added_menus": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Added Menus", "description": "新增的菜单清单(名称、路径)" }, "quota_changes": { "additionalProperties": true, "type": "object", "title": "Quota Changes", "description": "配额变化对比" }, "total_affected_users": { "type": "integer", "title": "Total Affected Users", "description": "受影响用户数总计", "default": 0 } }, "type": "object", "required": [ "new_package_id" ], "title": "PackageChangePreviewOut", "description": "套餐变更影响预览响应" }, "PackageCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "套餐名称" }, "code": { "type": "string", "maxLength": 100, "minLength": 2, "title": "Code", "description": "套餐编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分)", "default": 0 }, "period": { "type": "string", "pattern": "^(month|year)$", "title": "Period", "description": "计费周期", "default": "month" }, "trial_days": { "type": "integer", "minimum": 0, "title": "Trial Days", "description": "免费试用天数", "default": 0 }, "max_users": { "type": "integer", "minimum": 0, "title": "Max Users", "description": "最大用户数", "default": 10 }, "max_roles": { "type": "integer", "minimum": 0, "title": "Max Roles", "description": "最大角色数", "default": 5 }, "max_depts": { "type": "integer", "minimum": 0, "title": "Max Depts", "description": "最大部门数", "default": 10 }, "max_storage_mb": { "type": "integer", "minimum": 0, "title": "Max Storage Mb", "description": "最大存储(MB)", "default": 1024 }, "rate_limit": { "type": "integer", "minimum": 10, "title": "Rate Limit", "description": "API速率限制(请求/10秒)", "default": 60 } }, "type": "object", "required": [ "name", "code" ], "title": "PackageCreateSchema", "description": "新增套餐" }, "PackageMenuSetSchema": { "properties": { "menu_ids": { "items": { "type": "integer" }, "type": "array", "title": "Menu Ids", "description": "菜单ID列表" } }, "type": "object", "required": [ "menu_ids" ], "title": "PackageMenuSetSchema", "description": "批量设置套餐菜单权限" }, "PackageOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "套餐名称" }, "code": { "type": "string", "maxLength": 100, "minLength": 2, "title": "Code", "description": "套餐编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分)", "default": 0 }, "period": { "type": "string", "pattern": "^(month|year)$", "title": "Period", "description": "计费周期", "default": "month" }, "trial_days": { "type": "integer", "minimum": 0, "title": "Trial Days", "description": "免费试用天数", "default": 0 }, "max_users": { "type": "integer", "minimum": 0, "title": "Max Users", "description": "最大用户数", "default": 10 }, "max_roles": { "type": "integer", "minimum": 0, "title": "Max Roles", "description": "最大角色数", "default": 5 }, "max_depts": { "type": "integer", "minimum": 0, "title": "Max Depts", "description": "最大部门数", "default": 10 }, "max_storage_mb": { "type": "integer", "minimum": 0, "title": "Max Storage Mb", "description": "最大存储(MB)", "default": 1024 }, "rate_limit": { "type": "integer", "minimum": 10, "title": "Rate Limit", "description": "API速率限制(请求/10秒)", "default": 60 } }, "type": "object", "required": [ "name", "code" ], "title": "PackageOutSchema", "description": "套餐响应" }, "PackagePluginSetSchema": { "properties": { "plugin_ids": { "items": { "type": "integer" }, "type": "array", "title": "Plugin Ids", "description": "插件ID列表" } }, "type": "object", "required": [ "plugin_ids" ], "title": "PackagePluginSetSchema", "description": "批量设置套餐插件" }, "PackagePreviewOut": { "properties": { "current_package": { "type": "string", "title": "Current Package", "description": "当前套餐名称", "default": "" }, "target_package": { "type": "string", "title": "Target Package", "description": "目标套餐名称", "default": "" }, "action": { "type": "string", "enum": [ "buy", "renew", "upgrade", "downgrade" ], "title": "Action", "description": "操作类型", "default": "buy" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "金额(分)", "default": 0 }, "period": { "type": "string", "title": "Period", "description": "计费周期", "default": "" }, "gained_menus": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Gained Menus", "description": "新增菜单清单" }, "lost_menus": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Lost Menus", "description": "移除菜单清单" }, "affected_roles": { "items": { "type": "string" }, "type": "array", "title": "Affected Roles", "description": "受影响的角色名" }, "affected_users": { "type": "integer", "minimum": 0, "title": "Affected Users", "description": "受影响用户数", "default": 0 } }, "type": "object", "title": "PackagePreviewOut", "description": "套餐变更预览结果" }, "PackageUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "套餐名称" }, "code": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Code", "description": "套餐编码" }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "sort": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Sort", "description": "排序" }, "price": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Price", "description": "价格(分)" }, "period": { "anyOf": [ { "type": "string", "pattern": "^(month|year)$" }, { "type": "null" } ], "title": "Period", "description": "计费周期" }, "trial_days": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Trial Days", "description": "免费试用天数" }, "max_users": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Max Users", "description": "最大用户数" }, "max_roles": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Max Roles", "description": "最大角色数" }, "max_depts": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Max Depts", "description": "最大部门数" }, "max_storage_mb": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Max Storage Mb", "description": "最大存储(MB)" }, "rate_limit": { "anyOf": [ { "type": "integer", "minimum": 10 }, { "type": "null" } ], "title": "Rate Limit", "description": "API速率限制(请求/10秒)" } }, "type": "object", "title": "PackageUpdateSchema", "description": "更新套餐" }, "PageResultSchema_DemoOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/DemoOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[DemoOutSchema]" }, "PageResultSchema_DictDataOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/DictDataOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[DictDataOutSchema]" }, "PageResultSchema_DictTypeOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/DictTypeOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[DictTypeOutSchema]" }, "PageResultSchema_EmailConfigOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/EmailConfigOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[EmailConfigOutSchema]" }, "PageResultSchema_EmailLogOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/EmailLogOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[EmailLogOutSchema]" }, "PageResultSchema_EmailTemplateOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/EmailTemplateOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[EmailTemplateOutSchema]" }, "PageResultSchema_GenDBTableSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/GenDBTableSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[GenDBTableSchema]" }, "PageResultSchema_InvoiceOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/InvoiceOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[InvoiceOutSchema]" }, "PageResultSchema_JobOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/JobOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[JobOutSchema]" }, "PageResultSchema_LoginLogOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/LoginLogOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[LoginLogOutSchema]" }, "PageResultSchema_NodeOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/NodeOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[NodeOutSchema]" }, "PageResultSchema_NoticeOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/NoticeOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[NoticeOutSchema]" }, "PageResultSchema_OperationLogOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/OperationLogOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[OperationLogOutSchema]" }, "PageResultSchema_OrderOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/OrderOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[OrderOutSchema]" }, "PageResultSchema_PackageOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/PackageOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[PackageOutSchema]" }, "PageResultSchema_ParamsOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/ParamsOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[ParamsOutSchema]" }, "PageResultSchema_PaymentRecordOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/PaymentRecordOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[PaymentRecordOutSchema]" }, "PageResultSchema_PluginOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/PluginOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[PluginOutSchema]" }, "PageResultSchema_PositionOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/PositionOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[PositionOutSchema]" }, "PageResultSchema_RefundOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/RefundOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[RefundOutSchema]" }, "PageResultSchema_RoleOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/RoleOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[RoleOutSchema]" }, "PageResultSchema_TenantOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/TenantOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[TenantOutSchema]" }, "PageResultSchema_TicketOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/TicketOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[TicketOutSchema]" }, "PageResultSchema_UserOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/UserOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[UserOutSchema]" }, "PageResultSchema_WorkflowNodeTypeOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/WorkflowNodeTypeOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[WorkflowNodeTypeOutSchema]" }, "PageResultSchema_WorkflowOutSchema_": { "properties": { "page_no": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page No", "description": "页码,默认为1" }, "page_size": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ], "title": "Page Size", "description": "页面大小,默认为10" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数", "default": 0 }, "has_next": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Has Next", "description": "是否有下一页", "default": false }, "items": { "items": { "$ref": "#/components/schemas/WorkflowOutSchema" }, "type": "array", "title": "Items", "description": "分页后的数据列表" } }, "type": "object", "title": "PageResultSchema[WorkflowOutSchema]" }, "PanelDataOut": { "properties": { "notices": { "items": { "$ref": "#/components/schemas/NoticeOutSchema" }, "type": "array", "title": "Notices", "description": "通知列表" }, "messages": { "items": { "$ref": "#/components/schemas/PanelMessageItem" }, "type": "array", "title": "Messages", "description": "消息列表" }, "pendings": { "items": { "additionalProperties": true, "type": "object" }, "type": "array", "title": "Pendings", "description": "待办列表" } }, "type": "object", "title": "PanelDataOut", "description": "通知面板聚合数据" }, "PanelMessageItem": { "properties": { "id": { "type": "integer", "title": "Id", "description": "消息ID" }, "title": { "type": "string", "title": "Title", "description": "标题" }, "content": { "type": "string", "title": "Content", "description": "内容" }, "time": { "type": "string", "title": "Time", "description": "时间" }, "type": { "type": "string", "title": "Type", "description": "类型" } }, "type": "object", "required": [ "id", "title", "content", "time", "type" ], "title": "PanelMessageItem", "description": "面板-消息项" }, "ParamsCreateSchema": { "properties": { "config_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Config Name", "description": "参数名称" }, "config_key": { "type": "string", "maxLength": 500, "minLength": 1, "title": "Config Key", "description": "参数键名(小写字母开头,仅允许字母数字_.-)" }, "config_value": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Config Value", "description": "参数键值" }, "config_type": { "type": "boolean", "title": "Config Type", "description": "是否系统内置(True:是 False:否)", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Description", "description": "参数描述" } }, "type": "object", "required": [ "config_name", "config_key" ], "title": "ParamsCreateSchema", "description": "参数创建模型" }, "ParamsOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "config_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Config Name", "description": "参数名称" }, "config_key": { "type": "string", "maxLength": 500, "minLength": 1, "title": "Config Key", "description": "参数键名(小写字母开头,仅允许字母数字_.-)" }, "config_value": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Config Value", "description": "参数键值" }, "config_type": { "type": "boolean", "title": "Config Type", "description": "是否系统内置(True:是 False:否)", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Description", "description": "参数描述" } }, "type": "object", "required": [ "config_name", "config_key" ], "title": "ParamsOutSchema", "description": "参数响应模型" }, "ParamsUpdateSchema": { "properties": { "config_name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Config Name", "description": "参数名称" }, "config_key": { "type": "string", "maxLength": 500, "minLength": 1, "title": "Config Key", "description": "参数键名(小写字母开头,仅允许字母数字_.-)" }, "config_value": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Config Value", "description": "参数键值" }, "config_type": { "type": "boolean", "title": "Config Type", "description": "是否系统内置(True:是 False:否)", "default": false }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:正常 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Description", "description": "参数描述" } }, "type": "object", "required": [ "config_name", "config_key" ], "title": "ParamsUpdateSchema", "description": "参数更新模型" }, "PaymentCreateOut": { "properties": { "pay_url": { "type": "string", "title": "Pay Url", "description": "支付链接" }, "qr_code_url": { "type": "string", "title": "Qr Code Url", "description": "二维码链接" }, "trade_no": { "type": "string", "title": "Trade No", "description": "交易流水号" }, "order_id": { "type": "integer", "title": "Order Id", "description": "订单ID" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "amount": { "type": "integer", "title": "Amount", "description": "支付金额(分)" } }, "type": "object", "required": [ "pay_url", "qr_code_url", "trade_no", "order_id", "order_no", "amount" ], "title": "PaymentCreateOut", "description": "创建支付结果" }, "PaymentRecordOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "order_id": { "type": "integer", "title": "Order Id", "description": "订单ID" }, "transaction_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transaction Id", "description": "交易流水号" }, "pay_method": { "type": "string", "title": "Pay Method", "description": "支付方式" }, "amount": { "type": "integer", "title": "Amount", "description": "支付金额(分)" }, "pay_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Pay Time", "description": "支付时间" }, "status": { "type": "integer", "title": "Status", "description": "支付状态" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "order_id", "pay_method", "amount", "status" ], "title": "PaymentRecordOutSchema", "description": "支付记录输出" }, "PaymentStatusOut": { "properties": { "exists": { "type": "boolean", "title": "Exists", "description": "是否存在" }, "order_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Order Id", "description": "订单ID" }, "status": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Status", "description": "支付状态" }, "paid": { "type": "boolean", "title": "Paid", "description": "是否已支付", "default": false }, "pay_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式" }, "pay_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Time", "description": "支付时间" } }, "type": "object", "required": [ "exists" ], "title": "PaymentStatusOut", "description": "支付状态查询结果" }, "PluginCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "插件名称" }, "code": { "type": "string", "maxLength": 50, "minLength": 1, "title": "Code", "description": "插件编码(如 module_xxx)" }, "version": { "type": "string", "maxLength": 20, "title": "Version", "description": "版本号", "default": "1.0.0" }, "author": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Author", "description": "作者" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Icon", "description": "图标URL" }, "category": { "type": "string", "maxLength": 20, "title": "Category", "description": "分类(tool/ai/monitor/business)", "default": "tool" }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分,0=免费)", "default": 0 }, "menu_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Menu Path", "description": "菜单路径" }, "permission_prefix": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission Prefix", "description": "权限前缀" }, "dependencies": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dependencies", "description": "依赖插件编码(JSON数组)" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "插件描述" } }, "type": "object", "required": [ "name", "code" ], "title": "PluginCreateSchema", "description": "新增插件" }, "PluginInstallSchema": { "properties": { "plugin_id": { "type": "integer", "title": "Plugin Id", "description": "插件ID" } }, "type": "object", "required": [ "plugin_id" ], "title": "PluginInstallSchema", "description": "安装/卸载插件" }, "PluginOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "插件名称" }, "code": { "type": "string", "maxLength": 50, "minLength": 1, "title": "Code", "description": "插件编码(如 module_xxx)" }, "version": { "type": "string", "maxLength": 20, "title": "Version", "description": "版本号", "default": "1.0.0" }, "author": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Author", "description": "作者" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Icon", "description": "图标URL" }, "category": { "type": "string", "maxLength": 20, "title": "Category", "description": "分类(tool/ai/monitor/business)", "default": "tool" }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分,0=免费)", "default": 0 }, "menu_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Menu Path", "description": "菜单路径" }, "permission_prefix": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission Prefix", "description": "权限前缀" }, "dependencies": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dependencies", "description": "依赖插件编码(JSON数组)" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "插件描述" }, "installed": { "type": "boolean", "title": "Installed", "default": false } }, "type": "object", "required": [ "name", "code" ], "title": "PluginOutSchema", "description": "插件响应" }, "PluginPurchaseCreate": { "properties": { "plugin_id": { "type": "integer", "minimum": 1, "title": "Plugin Id", "description": "插件ID" }, "pay_method": { "anyOf": [ { "type": "string", "enum": [ "alipay", "wxpay", "free" ] }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式(alipay/wxpay/free)" } }, "type": "object", "required": [ "plugin_id" ], "title": "PluginPurchaseCreate", "description": "插件购买" }, "PluginUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "插件名称" }, "code": { "anyOf": [ { "type": "string", "maxLength": 50 }, { "type": "null" } ], "title": "Code", "description": "插件编码" }, "version": { "type": "string", "maxLength": 20, "title": "Version", "description": "版本号", "default": "1.0.0" }, "author": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Author", "description": "作者" }, "icon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Icon", "description": "图标URL" }, "category": { "type": "string", "maxLength": 20, "title": "Category", "description": "分类(tool/ai/monitor/business)", "default": "tool" }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分,0=免费)", "default": 0 }, "menu_path": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Menu Path", "description": "菜单路径" }, "permission_prefix": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Permission Prefix", "description": "权限前缀" }, "dependencies": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dependencies", "description": "依赖插件编码(JSON数组)" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "插件描述" } }, "type": "object", "title": "PluginUpdateSchema", "description": "更新插件 — 所有字段可选" }, "PositionCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "岗位名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Code", "description": "岗位编码" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示排序", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "name", "code" ], "title": "PositionCreateSchema", "description": "岗位创建模型" }, "PositionOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "岗位名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Code", "description": "岗位编码" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示排序", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "name", "code" ], "title": "PositionOutSchema", "description": "岗位信息响应模型" }, "PositionUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "岗位名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Code", "description": "岗位编码" }, "order": { "type": "integer", "minimum": 0, "title": "Order", "description": "显示排序", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "name", "code" ], "title": "PositionUpdateSchema", "description": "岗位更新模型" }, "PyInfoSchema": { "properties": { "name": { "type": "string", "title": "Name", "description": "Python名称" }, "version": { "type": "string", "title": "Version", "description": "Python版本" }, "start_time": { "type": "string", "title": "Start Time", "description": "启动时间" }, "run_time": { "type": "string", "title": "Run Time", "description": "运行时长" }, "home": { "type": "string", "title": "Home", "description": "安装路径" }, "memory_used": { "type": "string", "title": "Memory Used", "description": "内存占用" }, "memory_usage": { "type": "number", "maximum": 100, "minimum": 0, "title": "Memory Usage", "description": "内存使用率(%)" }, "memory_total": { "type": "string", "title": "Memory Total", "description": "总内存" }, "memory_free": { "type": "string", "title": "Memory Free", "description": "剩余内存" } }, "type": "object", "required": [ "name", "version", "start_time", "run_time", "home", "memory_used", "memory_usage", "memory_total", "memory_free" ], "title": "PyInfoSchema", "description": "Python运行信息模型" }, "ReadinessOut": { "properties": { "status": { "type": "string", "title": "Status", "description": "状态" }, "timestamp": { "type": "string", "title": "Timestamp", "description": "时间戳" }, "version": { "type": "string", "title": "Version", "description": "版本号" }, "uptime_seconds": { "type": "number", "title": "Uptime Seconds", "description": "运行时间(秒)" }, "dependencies": { "additionalProperties": { "$ref": "#/components/schemas/DependencyStatus" }, "type": "object", "title": "Dependencies", "description": "依赖状态" }, "disk_usage": { "type": "number", "title": "Disk Usage", "description": "磁盘使用率" } }, "type": "object", "required": [ "status", "timestamp", "version", "uptime_seconds", "dependencies", "disk_usage" ], "title": "ReadinessOut", "description": "就绪探针响应" }, "RefreshTokenPayloadSchema": { "properties": { "refresh_token": { "type": "string", "minLength": 1, "title": "Refresh Token", "description": "刷新token" } }, "type": "object", "required": [ "refresh_token" ], "title": "RefreshTokenPayloadSchema", "description": "刷新Token载荷模型" }, "RefundApplySchema": { "properties": { "reason": { "type": "string", "maxLength": 500, "minLength": 1, "title": "Reason", "description": "退款原因" } }, "type": "object", "required": [ "reason" ], "title": "RefundApplySchema", "description": "退款申请" }, "RefundOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "order_id": { "type": "integer", "title": "Order Id", "description": "订单ID" }, "refund_no": { "type": "string", "title": "Refund No", "description": "退款单号" }, "amount": { "type": "integer", "title": "Amount", "description": "退款金额(分)" }, "reason": { "type": "string", "title": "Reason", "description": "退款原因" }, "refund_transaction_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Refund Transaction Id", "description": "退款交易流水号" }, "reviewer_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Reviewer Id", "description": "审核人ID" }, "review_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Review Time", "description": "审核时间" }, "reject_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reject Reason", "description": "驳回原因" }, "status": { "type": "integer", "title": "Status", "description": "退款状态" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "order_id", "refund_no", "amount", "reason", "status" ], "title": "RefundOutSchema", "description": "退款记录输出" }, "RefundReviewSchema": { "properties": { "reject_reason": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Reject Reason", "description": "驳回原因(审核通过时可不填)" } }, "type": "object", "title": "RefundReviewSchema", "description": "退款审核" }, "ResetPasswordSchema": { "properties": { "id": { "type": "integer", "title": "Id", "description": "主键ID(已弃用,由路径参数传入)", "default": 0 }, "password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "Password", "description": "新密码" } }, "type": "object", "required": [ "password" ], "title": "ResetPasswordSchema", "description": "重置密码" }, "ResourceCopySchema": { "properties": { "source_path": { "type": "string", "title": "Source Path", "description": "源路径" }, "target_path": { "type": "string", "title": "Target Path", "description": "目标路径" }, "overwrite": { "type": "boolean", "title": "Overwrite", "description": "是否覆盖", "default": false } }, "type": "object", "required": [ "source_path", "target_path" ], "title": "ResourceCopySchema", "description": "资源复制模型" }, "ResourceCreateDirSchema": { "properties": { "parent_path": { "type": "string", "title": "Parent Path", "description": "父目录路径" }, "dir_name": { "type": "string", "maxLength": 255, "title": "Dir Name", "description": "目录名称" } }, "type": "object", "required": [ "parent_path", "dir_name" ], "title": "ResourceCreateDirSchema", "description": "创建目录模型" }, "ResourceItemSchema": { "properties": { "name": { "type": "string", "title": "Name", "description": "文件名" }, "file_url": { "type": "string", "title": "File Url", "description": "文件URL路径" }, "relative_path": { "type": "string", "title": "Relative Path", "description": "相对路径" }, "is_file": { "type": "boolean", "title": "Is File", "description": "是否为文件" }, "is_dir": { "type": "boolean", "title": "Is Dir", "description": "是否为目录" }, "size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Size", "description": "文件大小(字节)" }, "created_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "modified_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Modified Time", "description": "修改时间" }, "is_hidden": { "type": "boolean", "title": "Is Hidden", "description": "是否为隐藏文件", "default": false } }, "type": "object", "required": [ "name", "file_url", "relative_path", "is_file", "is_dir" ], "title": "ResourceItemSchema", "description": "资源项目模型" }, "ResourceMoveSchema": { "properties": { "source_path": { "type": "string", "title": "Source Path", "description": "源路径" }, "target_path": { "type": "string", "title": "Target Path", "description": "目标路径" }, "overwrite": { "type": "boolean", "title": "Overwrite", "description": "是否覆盖", "default": false } }, "type": "object", "required": [ "source_path", "target_path" ], "title": "ResourceMoveSchema", "description": "资源移动模型" }, "ResourceRenameSchema": { "properties": { "old_path": { "type": "string", "title": "Old Path", "description": "原路径" }, "new_name": { "type": "string", "maxLength": 255, "title": "New Name", "description": "新名称" } }, "type": "object", "required": [ "old_path", "new_name" ], "title": "ResourceRenameSchema", "description": "资源重命名模型" }, "ResponseSchema": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ {}, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema", "description": "响应模型" }, "ResponseSchema_AiChatResponseSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/AiChatResponseSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[AiChatResponseSchema]" }, "ResponseSchema_AutoLoginTokenSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/AutoLoginTokenSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[AutoLoginTokenSchema]" }, "ResponseSchema_CacheInfoSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/CacheInfoSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[CacheInfoSchema]" }, "ResponseSchema_CacheMonitorSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/CacheMonitorSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[CacheMonitorSchema]" }, "ResponseSchema_CaptchaOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/CaptchaOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[CaptchaOutSchema]" }, "ResponseSchema_DemoOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/DemoOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[DemoOutSchema]" }, "ResponseSchema_DeptOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/DeptOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[DeptOutSchema]" }, "ResponseSchema_DictDataOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/DictDataOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[DictDataOutSchema]" }, "ResponseSchema_DictTypeOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/DictTypeOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[DictTypeOutSchema]" }, "ResponseSchema_EmailConfigOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/EmailConfigOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[EmailConfigOutSchema]" }, "ResponseSchema_EmailTemplateOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/EmailTemplateOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[EmailTemplateOutSchema]" }, "ResponseSchema_GenSyncPreviewSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/GenSyncPreviewSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[GenSyncPreviewSchema]" }, "ResponseSchema_GenTableOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/GenTableOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[GenTableOutSchema]" }, "ResponseSchema_HealthOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/HealthOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[HealthOut]" }, "ResponseSchema_InvoiceOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/InvoiceOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[InvoiceOutSchema]" }, "ResponseSchema_JWTOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/JWTOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[JWTOutSchema]" }, "ResponseSchema_JobOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/JobOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[JobOutSchema]" }, "ResponseSchema_LoginLogDetailOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/LoginLogDetailOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[LoginLogDetailOutSchema]" }, "ResponseSchema_MenuOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/MenuOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[MenuOutSchema]" }, "ResponseSchema_NodeOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/NodeOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[NodeOutSchema]" }, "ResponseSchema_NoneType_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "type": "null", "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[NoneType]" }, "ResponseSchema_NoticeOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/NoticeOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[NoticeOutSchema]" }, "ResponseSchema_OperationLogDetailOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/OperationLogDetailOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[OperationLogDetailOutSchema]" }, "ResponseSchema_OrderOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/OrderOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[OrderOutSchema]" }, "ResponseSchema_OrderStatusMessage_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/OrderStatusMessage" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[OrderStatusMessage]" }, "ResponseSchema_PackageAvailableOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PackageAvailableOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PackageAvailableOut]" }, "ResponseSchema_PackageChangePreviewOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PackageChangePreviewOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PackageChangePreviewOut]" }, "ResponseSchema_PackageOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PackageOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PackageOutSchema]" }, "ResponseSchema_PackagePreviewOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PackagePreviewOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PackagePreviewOut]" }, "ResponseSchema_PageResultSchema_DemoOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_DemoOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[DemoOutSchema]]" }, "ResponseSchema_PageResultSchema_DictDataOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_DictDataOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[DictDataOutSchema]]" }, "ResponseSchema_PageResultSchema_DictTypeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_DictTypeOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[DictTypeOutSchema]]" }, "ResponseSchema_PageResultSchema_EmailConfigOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_EmailConfigOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[EmailConfigOutSchema]]" }, "ResponseSchema_PageResultSchema_EmailLogOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_EmailLogOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[EmailLogOutSchema]]" }, "ResponseSchema_PageResultSchema_EmailTemplateOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_EmailTemplateOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[EmailTemplateOutSchema]]" }, "ResponseSchema_PageResultSchema_GenDBTableSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_GenDBTableSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[GenDBTableSchema]]" }, "ResponseSchema_PageResultSchema_InvoiceOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_InvoiceOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[InvoiceOutSchema]]" }, "ResponseSchema_PageResultSchema_JobOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_JobOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[JobOutSchema]]" }, "ResponseSchema_PageResultSchema_LoginLogOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_LoginLogOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[LoginLogOutSchema]]" }, "ResponseSchema_PageResultSchema_NodeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_NodeOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[NodeOutSchema]]" }, "ResponseSchema_PageResultSchema_NoticeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_NoticeOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[NoticeOutSchema]]" }, "ResponseSchema_PageResultSchema_OperationLogOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_OperationLogOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[OperationLogOutSchema]]" }, "ResponseSchema_PageResultSchema_OrderOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_OrderOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[OrderOutSchema]]" }, "ResponseSchema_PageResultSchema_PackageOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_PackageOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[PackageOutSchema]]" }, "ResponseSchema_PageResultSchema_ParamsOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_ParamsOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[ParamsOutSchema]]" }, "ResponseSchema_PageResultSchema_PaymentRecordOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_PaymentRecordOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[PaymentRecordOutSchema]]" }, "ResponseSchema_PageResultSchema_PluginOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_PluginOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[PluginOutSchema]]" }, "ResponseSchema_PageResultSchema_PositionOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_PositionOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[PositionOutSchema]]" }, "ResponseSchema_PageResultSchema_RefundOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_RefundOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[RefundOutSchema]]" }, "ResponseSchema_PageResultSchema_RoleOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_RoleOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[RoleOutSchema]]" }, "ResponseSchema_PageResultSchema_TenantOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_TenantOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[TenantOutSchema]]" }, "ResponseSchema_PageResultSchema_TicketOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_TicketOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[TicketOutSchema]]" }, "ResponseSchema_PageResultSchema_UserOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_UserOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[UserOutSchema]]" }, "ResponseSchema_PageResultSchema_WorkflowNodeTypeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_WorkflowNodeTypeOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[WorkflowNodeTypeOutSchema]]" }, "ResponseSchema_PageResultSchema_WorkflowOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PageResultSchema_WorkflowOutSchema_" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PageResultSchema[WorkflowOutSchema]]" }, "ResponseSchema_PanelDataOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PanelDataOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PanelDataOut]" }, "ResponseSchema_ParamsOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/ParamsOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[ParamsOutSchema]" }, "ResponseSchema_PaymentCreateOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PaymentCreateOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PaymentCreateOut]" }, "ResponseSchema_PaymentStatusOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PaymentStatusOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PaymentStatusOut]" }, "ResponseSchema_PluginOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PluginOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PluginOutSchema]" }, "ResponseSchema_PositionOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/PositionOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[PositionOutSchema]" }, "ResponseSchema_ReadinessOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/ReadinessOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[ReadinessOut]" }, "ResponseSchema_RefundOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/RefundOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[RefundOutSchema]" }, "ResponseSchema_RoleOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/RoleOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[RoleOutSchema]" }, "ResponseSchema_SelectTenantOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/SelectTenantOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[SelectTenantOutSchema]" }, "ResponseSchema_SelfOrderDetailOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/SelfOrderDetailOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[SelfOrderDetailOut]" }, "ResponseSchema_SelfOrderListOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/SelfOrderListOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[SelfOrderListOut]" }, "ResponseSchema_SelfOrderOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/SelfOrderOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[SelfOrderOut]" }, "ResponseSchema_ServerMonitorSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/ServerMonitorSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[ServerMonitorSchema]" }, "ResponseSchema_TenantOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/TenantOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[TenantOutSchema]" }, "ResponseSchema_TenantRegisterOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/TenantRegisterOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[TenantRegisterOutSchema]" }, "ResponseSchema_TicketOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/TicketOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[TicketOutSchema]" }, "ResponseSchema_UploadResponseSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/UploadResponseSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[UploadResponseSchema]" }, "ResponseSchema_UserOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/UserOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[UserOutSchema]" }, "ResponseSchema_WorkflowExecuteResultSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/WorkflowExecuteResultSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[WorkflowExecuteResultSchema]" }, "ResponseSchema_WorkflowNodeTypeOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/WorkflowNodeTypeOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[WorkflowNodeTypeOutSchema]" }, "ResponseSchema_WorkflowOutSchema_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/WorkflowOutSchema" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[WorkflowOutSchema]" }, "ResponseSchema_WorkspaceOut_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceOut" }, { "type": "null" } ], "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[WorkspaceOut]" }, "ResponseSchema_bool_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[bool]" }, "ResponseSchema_dict_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[dict]" }, "ResponseSchema_dict_str__Any__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[dict[str, Any]]" }, "ResponseSchema_int_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[int]" }, "ResponseSchema_list_AutoLoginUserSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/AutoLoginUserSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[AutoLoginUserSchema]]" }, "ResponseSchema_list_CacheInfoSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CacheInfoSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[CacheInfoSchema]]" }, "ResponseSchema_list_DeptOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/DeptOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[DeptOutSchema]]" }, "ResponseSchema_list_DictDataOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/DictDataOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[DictDataOutSchema]]" }, "ResponseSchema_list_DictTypeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/DictTypeOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[DictTypeOutSchema]]" }, "ResponseSchema_list_GenTableOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/GenTableOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[GenTableOutSchema]]" }, "ResponseSchema_list_MenuOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/MenuOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[MenuOutSchema]]" }, "ResponseSchema_list_NoticeOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/NoticeOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[NoticeOutSchema]]" }, "ResponseSchema_list_OnlineOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/OnlineOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[OnlineOutSchema]]" }, "ResponseSchema_list_ParamsOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/ParamsOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[ParamsOutSchema]]" }, "ResponseSchema_list_PluginOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/PluginOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[PluginOutSchema]]" }, "ResponseSchema_list_ResourceItemSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/ResourceItemSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[ResourceItemSchema]]" }, "ResponseSchema_list_TenantConfigOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/TenantConfigOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[TenantConfigOutSchema]]" }, "ResponseSchema_list_TenantOptionSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/TenantOptionSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[TenantOptionSchema]]" }, "ResponseSchema_list_TenantUserOutSchema__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "$ref": "#/components/schemas/TenantUserOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[TenantUserOutSchema]]" }, "ResponseSchema_list_dict__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[dict]]" }, "ResponseSchema_list_int__": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[list[int]]" }, "ResponseSchema_str_": { "properties": { "code": { "type": "integer", "title": "Code", "description": "业务状态码", "default": 0 }, "msg": { "type": "string", "title": "Msg", "description": "响应消息", "default": "成功" }, "data": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Data", "description": "响应数据" }, "status_code": { "type": "integer", "title": "Status Code", "description": "HTTP状态码", "default": 200 }, "success": { "type": "boolean", "title": "Success", "description": "操作是否成功", "default": true } }, "type": "object", "title": "ResponseSchema[str]" }, "RoleCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "角色名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "角色编码" }, "order": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Order", "description": "显示排序", "default": 1 }, "data_scope": { "anyOf": [ { "type": "integer", "maximum": 5, "minimum": 1 }, { "type": "null" } ], "title": "Data Scope", "description": "数据权限范围(1:仅本人 2:本部门 3:本部门及以下 4:全部 5:自定义)", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "name", "code" ], "title": "RoleCreateSchema", "description": "角色创建模型" }, "RoleOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "角色名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "角色编码" }, "order": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Order", "description": "显示排序", "default": 1 }, "data_scope": { "anyOf": [ { "type": "integer", "maximum": 5, "minimum": 1 }, { "type": "null" } ], "title": "Data Scope", "description": "数据权限范围(1:仅本人 2:本部门 3:本部门及以下 4:全部 5:自定义)", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" }, "menus": { "items": { "$ref": "#/components/schemas/MenuOutSchema" }, "type": "array", "title": "Menus", "description": "角色菜单列表" }, "depts": { "items": { "$ref": "#/components/schemas/DeptOutSchema" }, "type": "array", "title": "Depts", "description": "角色部门列表" } }, "type": "object", "required": [ "name", "code" ], "title": "RoleOutSchema", "description": "角色信息响应模型" }, "RolePermissionSettingSchema": { "properties": { "data_scope": { "type": "integer", "maximum": 5, "minimum": 1, "title": "Data Scope", "description": "数据权限范围(1:仅本人 2:本部门 3:本部门及以下 4:全部 5:自定义)", "default": 1 }, "role_ids": { "items": { "type": "integer" }, "type": "array", "title": "Role Ids", "description": "角色ID列表" }, "menu_ids": { "items": { "type": "integer" }, "type": "array", "title": "Menu Ids", "description": "菜单ID列表" }, "dept_ids": { "items": { "type": "integer" }, "type": "array", "title": "Dept Ids", "description": "部门ID列表" } }, "type": "object", "title": "RolePermissionSettingSchema", "description": "角色权限配置模型" }, "RoleUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 64, "minLength": 1, "title": "Name", "description": "角色名称" }, "code": { "type": "string", "maxLength": 64, "minLength": 2, "title": "Code", "description": "角色编码" }, "order": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Order", "description": "显示排序", "default": 1 }, "data_scope": { "anyOf": [ { "type": "integer", "maximum": 5, "minimum": 1 }, { "type": "null" } ], "title": "Data Scope", "description": "数据权限范围(1:仅本人 2:本部门 3:本部门及以下 4:全部 5:自定义)", "default": 1 }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "描述" } }, "type": "object", "required": [ "name", "code" ], "title": "RoleUpdateSchema", "description": "角色更新模型" }, "SelectTenantOutSchema": { "properties": { "access_token": { "type": "string", "title": "Access Token", "description": "访问token(含租户上下文)" }, "token_type": { "type": "string", "title": "Token Type", "description": "token类型(RFC 6750)", "default": "Bearer" }, "expires_in": { "type": "integer", "exclusiveMinimum": 0, "title": "Expires In", "description": "过期时间(秒)" } }, "type": "object", "required": [ "access_token", "expires_in" ], "title": "SelectTenantOutSchema", "description": "选择租户响应" }, "SelectTenantSchema": { "properties": { "tenant_id": { "type": "integer", "exclusiveMinimum": 0, "title": "Tenant Id", "description": "租户ID" } }, "type": "object", "required": [ "tenant_id" ], "title": "SelectTenantSchema", "description": "选择租户请求" }, "SelfOrderCreate": { "properties": { "package_id": { "type": "integer", "minimum": 1, "title": "Package Id", "description": "套餐ID" }, "order_type": { "type": "string", "enum": [ "buy", "renew", "upgrade", "downgrade" ], "title": "Order Type", "description": "订单类型(buy/renew/upgrade/downgrade)" } }, "type": "object", "required": [ "package_id", "order_type" ], "title": "SelfOrderCreate", "description": "自助订单创建" }, "SelfOrderDetailOut": { "properties": { "id": { "type": "integer", "title": "Id", "description": "订单ID" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "package_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Package Id", "description": "套餐ID" }, "package_name": { "type": "string", "title": "Package Name", "description": "套餐名称", "default": "" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "订单金额(分)" }, "order_type": { "$ref": "#/components/schemas/OrderTypeEnum" }, "status": { "type": "integer", "title": "Status", "description": "订单状态(0:待支付 1:已支付 2:已取消 3:已退款)" }, "pay_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式" }, "pay_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Time", "description": "支付时间" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At", "description": "创建时间" } }, "type": "object", "required": [ "id", "order_no", "amount", "order_type", "status" ], "title": "SelfOrderDetailOut", "description": "订单详情" }, "SelfOrderListItem": { "properties": { "id": { "type": "integer", "title": "Id", "description": "订单ID" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "package_name": { "type": "string", "title": "Package Name", "description": "套餐名称", "default": "" }, "order_type": { "$ref": "#/components/schemas/OrderTypeEnum" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "订单金额(分)" }, "status": { "type": "integer", "title": "Status", "description": "订单状态(0:待支付 1:已支付 2:已取消 3:已退款)" }, "pay_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Method", "description": "支付方式" }, "pay_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Pay Time", "description": "支付时间" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At", "description": "创建时间" } }, "type": "object", "required": [ "id", "order_no", "order_type", "amount", "status" ], "title": "SelfOrderListItem", "description": "我的订单列表项" }, "SelfOrderListOut": { "properties": { "items": { "items": { "$ref": "#/components/schemas/SelfOrderListItem" }, "type": "array", "title": "Items", "description": "订单列表" }, "total": { "type": "integer", "minimum": 0, "title": "Total", "description": "总记录数" }, "page_no": { "type": "integer", "minimum": 1, "title": "Page No", "description": "页码" }, "page_size": { "type": "integer", "minimum": 1, "title": "Page Size", "description": "每页数量" } }, "type": "object", "required": [ "total", "page_no", "page_size" ], "title": "SelfOrderListOut", "description": "我的订单列表" }, "SelfOrderOut": { "properties": { "order_id": { "type": "integer", "title": "Order Id", "description": "订单ID" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "订单金额(分)" }, "need_pay": { "type": "boolean", "title": "Need Pay", "description": "是否需要支付" } }, "type": "object", "required": [ "order_id", "order_no", "amount", "need_pay" ], "title": "SelfOrderOut", "description": "自助订单创建结果" }, "ServerMonitorSchema": { "properties": { "cpu": { "$ref": "#/components/schemas/CpuInfoSchema", "description": "CPU信息" }, "mem": { "$ref": "#/components/schemas/MemoryInfoSchema", "description": "内存信息" }, "py": { "$ref": "#/components/schemas/PyInfoSchema", "description": "Python运行信息" }, "sys": { "$ref": "#/components/schemas/SysInfoSchema", "description": "系统信息" }, "disks": { "items": { "$ref": "#/components/schemas/DiskInfoSchema" }, "type": "array", "title": "Disks", "description": "磁盘信息" } }, "type": "object", "required": [ "cpu", "mem", "py", "sys" ], "title": "ServerMonitorSchema", "description": "服务器监控信息模型" }, "SysInfoSchema": { "properties": { "computer_ip": { "type": "string", "title": "Computer Ip", "description": "服务器IP" }, "computer_name": { "type": "string", "title": "Computer Name", "description": "服务器名称" }, "os_arch": { "type": "string", "title": "Os Arch", "description": "系统架构" }, "os_name": { "type": "string", "title": "Os Name", "description": "操作系统" }, "user_dir": { "type": "string", "title": "User Dir", "description": "项目路径" } }, "type": "object", "required": [ "computer_ip", "computer_name", "os_arch", "os_name", "user_dir" ], "title": "SysInfoSchema", "description": "系统信息模型" }, "TenantConfigItem": { "properties": { "key": { "type": "string", "title": "Key", "description": "配置键" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Value", "description": "配置值" } }, "type": "object", "required": [ "key" ], "title": "TenantConfigItem", "description": "租户配置项" }, "TenantConfigOutSchema": { "properties": { "config_key": { "type": "string", "title": "Config Key", "description": "配置键" }, "config_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Config Value", "description": "配置值" } }, "type": "object", "required": [ "config_key" ], "title": "TenantConfigOutSchema", "description": "租户配置响应" }, "TenantCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "租户名称" }, "code": { "type": "string", "maxLength": 100, "minLength": 2, "title": "Code", "description": "租户编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "start_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Start Time", "description": "开始时间" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time", "description": "结束时间" }, "contact_name": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Contact Name", "description": "联系人姓名" }, "contact_phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Contact Phone", "description": "联系人电话" }, "contact_email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Contact Email", "description": "联系人邮箱" }, "address": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Address", "description": "地址" }, "domain": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Domain", "description": "域名" }, "logo_url": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Logo Url", "description": "Logo URL" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "package_id": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "null" } ], "title": "Package Id", "description": "关联套餐ID" }, "version": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Version", "description": "版本号" }, "favicon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Favicon", "description": "favicon地址" }, "login_bg": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Login Bg", "description": "登录背景地址" }, "copyright": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Copyright", "description": "版权信息" }, "keep_record": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Keep Record", "description": "备案号" }, "help_doc": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Help Doc", "description": "帮助文档地址" }, "privacy": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Privacy", "description": "隐私政策地址" }, "clause": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Clause", "description": "服务条款地址" }, "git_code": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Git Code", "description": "源码地址" } }, "type": "object", "required": [ "name", "code" ], "title": "TenantCreateSchema", "description": "新增租户" }, "TenantOptionSchema": { "properties": { "id": { "type": "integer", "title": "Id", "description": "租户ID" }, "name": { "type": "string", "title": "Name", "description": "租户名称" }, "code": { "type": "string", "title": "Code", "description": "租户编码" } }, "type": "object", "required": [ "id", "name", "code" ], "title": "TenantOptionSchema", "description": "租户选项(用于登录后选择租户)" }, "TenantOutSchema": { "properties": { "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 100, "minLength": 1, "title": "Name", "description": "租户名称" }, "code": { "type": "string", "maxLength": 100, "minLength": 2, "title": "Code", "description": "租户编码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "start_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Time", "description": "开始时间" }, "end_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Time", "description": "结束时间" }, "contact_name": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Contact Name", "description": "联系人姓名" }, "contact_phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Contact Phone", "description": "联系人电话" }, "contact_email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Contact Email", "description": "联系人邮箱" }, "address": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Address", "description": "地址" }, "domain": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Domain", "description": "域名" }, "logo_url": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Logo Url", "description": "Logo URL" }, "sort": { "type": "integer", "minimum": 0, "title": "Sort", "description": "排序", "default": 0 }, "package_id": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "null" } ], "title": "Package Id", "description": "关联套餐ID" }, "version": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Version", "description": "版本号" }, "favicon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Favicon", "description": "favicon地址" }, "login_bg": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Login Bg", "description": "登录背景地址" }, "copyright": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Copyright", "description": "版权信息" }, "keep_record": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Keep Record", "description": "备案号" }, "help_doc": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Help Doc", "description": "帮助文档地址" }, "privacy": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Privacy", "description": "隐私政策地址" }, "clause": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Clause", "description": "服务条款地址" }, "git_code": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Git Code", "description": "源码地址" } }, "type": "object", "required": [ "name", "code" ], "title": "TenantOutSchema", "description": "租户响应" }, "TenantRegisterOutSchema": { "properties": { "user_id": { "type": "integer", "title": "User Id", "description": "用户ID" }, "username": { "type": "string", "title": "Username", "description": "账号" }, "tenant_id": { "type": "integer", "title": "Tenant Id", "description": "租户ID" }, "tenant_name": { "type": "string", "title": "Tenant Name", "description": "租户名称" }, "tenant_code": { "type": "string", "title": "Tenant Code", "description": "租户编码" }, "package": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Package", "description": "开通套餐" }, "trial_end": { "type": "string", "title": "Trial End", "description": "试用到期日" }, "message": { "type": "string", "title": "Message", "description": "提示信息", "default": "注册成功" } }, "type": "object", "required": [ "user_id", "username", "tenant_id", "tenant_name", "tenant_code", "trial_end" ], "title": "TenantRegisterOutSchema", "description": "租户自助注册响应" }, "TenantRegisterSchema": { "properties": { "username": { "type": "string", "maxLength": 32, "minLength": 3, "title": "Username", "description": "登录账号" }, "password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "Password", "description": "登录密码" }, "email": { "type": "string", "maxLength": 128, "title": "Email", "description": "邮箱(用于接收通知)" }, "tenant_name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Tenant Name", "description": "企业/团队名称(可选,默认:{用户名}的租户)" } }, "type": "object", "required": [ "username", "password", "email" ], "title": "TenantRegisterSchema", "description": "租户自助注册请求" }, "TenantRenewSchema": { "properties": { "end_time": { "type": "string", "format": "date-time", "title": "End Time", "description": "新的结束时间" } }, "type": "object", "required": [ "end_time" ], "title": "TenantRenewSchema", "description": "租户续期" }, "TenantUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Name", "description": "租户名称" }, "code": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Code", "description": "租户编码" }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "start_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Start Time", "description": "开始时间" }, "end_time": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "End Time", "description": "结束时间" }, "contact_name": { "anyOf": [ { "type": "string", "maxLength": 64 }, { "type": "null" } ], "title": "Contact Name", "description": "联系人姓名" }, "contact_phone": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Contact Phone", "description": "联系人电话" }, "contact_email": { "anyOf": [ { "type": "string", "maxLength": 128 }, { "type": "null" } ], "title": "Contact Email", "description": "联系人邮箱" }, "address": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Address", "description": "地址" }, "domain": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Domain", "description": "域名" }, "logo_url": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Logo Url", "description": "Logo URL" }, "sort": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ], "title": "Sort", "description": "排序" }, "package_id": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "null" } ], "title": "Package Id", "description": "关联套餐ID" }, "version": { "anyOf": [ { "type": "string", "maxLength": 20 }, { "type": "null" } ], "title": "Version", "description": "版本号" }, "favicon": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Favicon", "description": "favicon地址" }, "login_bg": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Login Bg", "description": "登录背景地址" }, "copyright": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Copyright", "description": "版权信息" }, "keep_record": { "anyOf": [ { "type": "string", "maxLength": 100 }, { "type": "null" } ], "title": "Keep Record", "description": "备案号" }, "help_doc": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Help Doc", "description": "帮助文档地址" }, "privacy": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Privacy", "description": "隐私政策地址" }, "clause": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Clause", "description": "服务条款地址" }, "git_code": { "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ], "title": "Git Code", "description": "源码地址" } }, "type": "object", "title": "TenantUpdateSchema", "description": "更新租户" }, "TenantUserAddSchema": { "properties": { "user_id": { "type": "integer", "exclusiveMinimum": 0, "title": "User Id", "description": "用户ID" }, "role": { "type": "string", "maxLength": 20, "title": "Role", "description": "租户内角色(owner/admin/member)", "default": "member" }, "is_default": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Is Default", "description": "是否默认租户(0:否 1:是)", "default": 0 } }, "type": "object", "required": [ "user_id" ], "title": "TenantUserAddSchema", "description": "向租户添加用户" }, "TenantUserOutSchema": { "properties": { "id": { "type": "integer", "title": "Id", "description": "关联ID" }, "user_id": { "type": "integer", "title": "User Id", "description": "用户ID" }, "tenant_id": { "type": "integer", "title": "Tenant Id", "description": "租户ID" }, "role": { "type": "string", "title": "Role", "description": "租户内角色" }, "is_default": { "type": "integer", "title": "Is Default", "description": "是否默认租户" }, "create_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Create Time", "description": "创建时间" }, "username": { "type": "string", "title": "Username", "description": "用户名", "default": "" }, "name": { "type": "string", "title": "Name", "description": "用户姓名", "default": "" } }, "type": "object", "required": [ "id", "user_id", "tenant_id", "role", "is_default" ], "title": "TenantUserOutSchema", "description": "租户用户响应" }, "TicketBatchSchema": { "properties": { "ids": { "items": { "type": "integer" }, "type": "array", "minItems": 1, "title": "Ids", "description": "工单ID列表" }, "status": { "type": "integer", "maximum": 3, "minimum": 0, "title": "Status", "description": "状态(0:待处理 1:处理中 2:已完成 3:已关闭)" } }, "type": "object", "required": [ "ids", "status" ], "title": "TicketBatchSchema", "description": "批量更新工单" }, "TicketCreateSchema": { "properties": { "title": { "type": "string", "maxLength": 200, "minLength": 1, "title": "Title", "description": "工单标题" }, "ticket_content": { "type": "string", "title": "Ticket Content", "description": "工单内容(富文本)", "default": "" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary", "description": "工单内容(纯文本摘要)" }, "ticket_type": { "$ref": "#/components/schemas/TicketTypeEnum", "description": "工单类型(suggestion/bug/optimize/other)", "default": "suggestion" }, "images": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Images", "description": "图片URL列表(JSON数组)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "工单描述" } }, "type": "object", "required": [ "title" ], "title": "TicketCreateSchema", "description": "创建工单" }, "TicketOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "title": { "type": "string", "title": "Title", "description": "工单标题" }, "ticket_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ticket Content", "description": "工单内容" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary", "description": "摘要" }, "ticket_type": { "$ref": "#/components/schemas/TicketTypeEnum" }, "status": { "type": "integer", "title": "Status", "description": "状态(0:待处理 1:处理中 2:已完成 3:已关闭)" }, "images": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Images", "description": "图片" }, "reply": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reply", "description": "回复内容" }, "assigned_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Assigned Id", "description": "指派人ID" }, "assigned_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "指派人" } }, "type": "object", "required": [ "title", "ticket_type", "status" ], "title": "TicketOutSchema", "description": "工单响应" }, "TicketTypeEnum": { "type": "string", "enum": [ "suggestion", "bug", "optimize", "other" ], "title": "TicketTypeEnum", "description": "工单类型" }, "TicketUpdateSchema": { "properties": { "title": { "anyOf": [ { "type": "string", "maxLength": 200 }, { "type": "null" } ], "title": "Title", "description": "工单标题" }, "ticket_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ticket Content", "description": "工单内容(富文本)" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary", "description": "工单内容(纯文本摘要)" }, "ticket_type": { "anyOf": [ { "$ref": "#/components/schemas/TicketTypeEnum" }, { "type": "null" } ], "description": "工单类型" }, "status": { "anyOf": [ { "type": "integer", "maximum": 3, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:待处理 1:处理中 2:已完成 3:已关闭)" }, "reply": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Reply", "description": "回复内容" }, "assigned_id": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "null" } ], "title": "Assigned Id", "description": "处理人ID" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "工单描述" } }, "type": "object", "title": "TicketUpdateSchema", "description": "更新工单" }, "UploadResponseSchema": { "properties": { "file_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "File Path", "description": "新文件映射路径" }, "file_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "File Name", "description": "新文件名称" }, "origin_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Origin Name", "description": "原文件名称" }, "file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "File Url", "description": "新文件访问地址" } }, "type": "object", "title": "UploadResponseSchema", "description": "上传响应模型" }, "UserChangePasswordSchema": { "properties": { "old_password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "Old Password", "description": "旧密码" }, "new_password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "New Password", "description": "新密码" } }, "type": "object", "required": [ "old_password", "new_password" ], "title": "UserChangePasswordSchema", "description": "修改密码" }, "UserCreateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Name", "description": "名称" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" }, "email": { "anyOf": [ { "type": "string", "format": "email" }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "gender": { "anyOf": [ { "type": "string", "maxLength": 1 }, { "type": "null" } ], "title": "Gender", "description": "性别(0:男 1:女 2:未知)" }, "avatar": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Avatar", "description": "头像" }, "username": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Username", "description": "用户名" }, "password": { "anyOf": [ { "type": "string", "maxLength": 128, "minLength": 6 }, { "type": "null" } ], "title": "Password", "description": "密码" }, "status": { "type": "integer", "maximum": 1, "minimum": 0, "title": "Status", "description": "状态(0:启动 1:停用)", "default": 0 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" }, "is_superuser": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Superuser", "description": "是否超管", "default": false }, "dept_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Dept Id", "description": "部门ID" }, "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID,仅平台管理员创建时可指定" }, "role_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Role Ids", "description": "角色ID列表", "default": [] }, "position_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Position Ids", "description": "岗位ID列表", "default": [] } }, "type": "object", "title": "UserCreateSchema", "description": "新增用户" }, "UserForgetPasswordSchema": { "properties": { "username": { "type": "string", "maxLength": 32, "minLength": 3, "title": "Username", "description": "用户名" }, "new_password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "New Password", "description": "新密码" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" } }, "type": "object", "required": [ "username", "new_password" ], "title": "UserForgetPasswordSchema", "description": "忘记密码" }, "UserOutSchema": { "properties": { "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Name", "description": "名称" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" }, "email": { "anyOf": [ { "type": "string", "format": "email" }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "gender": { "anyOf": [ { "type": "string", "maxLength": 1 }, { "type": "null" } ], "title": "Gender", "description": "性别(0:男 1:女 2:未知)" }, "avatar": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Avatar", "description": "头像" }, "username": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Username", "description": "用户名" }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" }, "dept_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Dept Id", "description": "部门ID" }, "role_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Role Ids", "description": "角色ID列表", "default": [] }, "position_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Position Ids", "description": "岗位ID列表", "default": [] }, "gitee_login": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Gitee Login", "description": "Gitee登录" }, "github_login": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Github Login", "description": "Github登录" }, "wx_login": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Wx Login", "description": "微信登录" }, "qq_login": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Qq Login", "description": "QQ登录" }, "dept_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Dept Name", "description": "部门名称" }, "dept": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "部门" }, "positions": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CommonSchema" }, "type": "array" }, { "type": "null" } ], "title": "Positions", "description": "岗位", "default": [] }, "roles": { "anyOf": [ { "items": { "$ref": "#/components/schemas/RoleOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Roles", "description": "角色", "default": [] }, "menus": { "anyOf": [ { "items": { "$ref": "#/components/schemas/MenuOutSchema" }, "type": "array" }, { "type": "null" } ], "title": "Menus", "description": "菜单", "default": [] } }, "type": "object", "title": "UserOutSchema", "description": "响应" }, "UserRegisterSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Name", "description": "姓名" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" }, "username": { "type": "string", "maxLength": 32, "minLength": 3, "title": "Username", "description": "账号" }, "password": { "type": "string", "maxLength": 128, "minLength": 6, "title": "Password", "description": "密码" }, "role_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Role Ids", "description": "角色ID列表", "default": [ 1 ] }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID", "default": 1 }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" } }, "type": "object", "required": [ "username", "password" ], "title": "UserRegisterSchema", "description": "注册" }, "UserUpdateSchema": { "properties": { "name": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Name", "description": "名称" }, "mobile": { "anyOf": [ { "type": "string", "maxLength": 11 }, { "type": "null" } ], "title": "Mobile", "description": "手机号" }, "email": { "anyOf": [ { "type": "string", "format": "email" }, { "type": "null" } ], "title": "Email", "description": "邮箱" }, "gender": { "anyOf": [ { "type": "string", "maxLength": 1 }, { "type": "null" } ], "title": "Gender", "description": "性别(0:男 1:女 2:未知)" }, "avatar": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Avatar", "description": "头像" }, "username": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Username", "description": "用户名" }, "status": { "anyOf": [ { "type": "integer", "maximum": 1, "minimum": 0 }, { "type": "null" } ], "title": "Status", "description": "状态(0:启动 1:停用)" }, "description": { "anyOf": [ { "type": "string", "maxLength": 255 }, { "type": "null" } ], "title": "Description", "description": "备注" }, "dept_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Dept Id", "description": "部门ID" }, "role_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Role Ids", "description": "角色ID列表", "default": [] }, "position_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Position Ids", "description": "岗位ID列表", "default": [] } }, "type": "object", "title": "UserUpdateSchema", "description": "更新" }, "WorkflowCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 128, "title": "Name", "description": "流程名称" }, "code": { "type": "string", "maxLength": 64, "title": "Code", "description": "流程编码" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "nodes": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Nodes", "description": "Vue Flow nodes" }, "edges": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Edges", "description": "Vue Flow edges" } }, "type": "object", "required": [ "name", "code" ], "title": "WorkflowCreateSchema", "description": "创建工作流" }, "WorkflowExecuteResultSchema": { "properties": { "workflow_id": { "type": "integer", "title": "Workflow Id", "description": "工作流ID" }, "workflow_name": { "type": "string", "title": "Workflow Name", "description": "工作流名称" }, "status": { "type": "string", "title": "Status", "description": "completed/failed" }, "start_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Time", "description": "开始时间" }, "end_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Time", "description": "结束时间" }, "variables": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Variables", "description": "变量" }, "node_results": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Node Results", "description": "节点结果" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error", "description": "错误信息" } }, "type": "object", "required": [ "workflow_id", "workflow_name", "status" ], "title": "WorkflowExecuteResultSchema", "description": "执行结果" }, "WorkflowExecuteSchema": { "properties": { "workflow_id": { "type": "integer", "title": "Workflow Id", "description": "工作流ID" }, "variables": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Variables", "description": "注入到各节点的 variables 上下文" }, "business_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Business Key", "description": "业务键" }, "job_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Job Id", "description": "关联任务ID" } }, "type": "object", "required": [ "workflow_id" ], "title": "WorkflowExecuteSchema", "description": "执行工作流" }, "WorkflowNodeTypeCreateSchema": { "properties": { "name": { "type": "string", "maxLength": 128, "title": "Name", "description": "显示名称" }, "code": { "type": "string", "maxLength": 64, "title": "Code", "description": "节点编码" }, "category": { "type": "string", "maxLength": 32, "title": "Category", "description": "trigger/action/condition/control", "default": "action" }, "func": { "type": "string", "title": "Func", "description": "代码块,须定义 handler" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "默认位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "默认 kwargs JSON" }, "sort_order": { "type": "integer", "minimum": 0, "title": "Sort Order", "description": "排序", "default": 0 }, "is_active": { "type": "boolean", "title": "Is Active", "description": "是否启用", "default": true } }, "type": "object", "required": [ "name", "code", "func" ], "title": "WorkflowNodeTypeCreateSchema", "description": "创建节点类型" }, "WorkflowNodeTypeOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "name": { "type": "string", "maxLength": 128, "title": "Name", "description": "显示名称" }, "code": { "type": "string", "maxLength": 64, "title": "Code", "description": "节点编码" }, "category": { "type": "string", "maxLength": 32, "title": "Category", "description": "trigger/action/condition/control", "default": "action" }, "func": { "type": "string", "title": "Func", "description": "代码块,须定义 handler" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "默认位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "默认 kwargs JSON" }, "sort_order": { "type": "integer", "minimum": 0, "title": "Sort Order", "description": "排序", "default": 0 }, "is_active": { "type": "boolean", "title": "Is Active", "description": "是否启用", "default": true } }, "type": "object", "required": [ "name", "code", "func" ], "title": "WorkflowNodeTypeOutSchema", "description": "输出(含审计与用户信息)" }, "WorkflowNodeTypeUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 128, "title": "Name", "description": "显示名称" }, "code": { "type": "string", "maxLength": 64, "title": "Code", "description": "节点编码" }, "category": { "type": "string", "maxLength": 32, "title": "Category", "description": "trigger/action/condition/control", "default": "action" }, "func": { "type": "string", "title": "Func", "description": "代码块,须定义 handler" }, "args": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Args", "description": "默认位置参数" }, "kwargs": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Kwargs", "description": "默认 kwargs JSON" }, "sort_order": { "type": "integer", "minimum": 0, "title": "Sort Order", "description": "排序", "default": 0 }, "is_active": { "type": "boolean", "title": "Is Active", "description": "是否启用", "default": true } }, "type": "object", "required": [ "name", "code", "func" ], "title": "WorkflowNodeTypeUpdateSchema", "description": "更新节点类型" }, "WorkflowOutSchema": { "properties": { "tenant_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Tenant Id", "description": "租户ID" }, "tenant_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "租户信息" }, "created_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Created Id", "description": "创建人ID" }, "created_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "创建人信息" }, "updated_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Updated Id", "description": "更新人ID" }, "updated_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "更新人信息" }, "deleted_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Deleted Id", "description": "删除人ID" }, "deleted_by": { "anyOf": [ { "$ref": "#/components/schemas/CommonSchema" }, { "type": "null" } ], "description": "删除人信息" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Id", "description": "主键ID" }, "uuid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Uuid", "description": "UUID" }, "created_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created Time", "description": "创建时间" }, "updated_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Updated Time", "description": "更新时间" }, "is_deleted": { "type": "boolean", "title": "Is Deleted", "description": "是否已删除", "default": false }, "deleted_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deleted Time", "description": "删除时间" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "name": { "type": "string", "title": "Name", "description": "流程名称" }, "code": { "type": "string", "title": "Code", "description": "流程编码" }, "status": { "type": "string", "title": "Status", "description": "流程状态 draft/published/archived" }, "nodes": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Nodes", "description": "节点" }, "edges": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Edges", "description": "连线" } }, "type": "object", "required": [ "name", "code", "status" ], "title": "WorkflowOutSchema", "description": "工作流输出(status 表示流程状态 draft/published/archived,与 ModelMixin.status 区分)" }, "WorkflowUpdateSchema": { "properties": { "name": { "type": "string", "maxLength": 128, "title": "Name", "description": "流程名称" }, "code": { "type": "string", "maxLength": 64, "title": "Code", "description": "流程编码" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "描述" }, "nodes": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Nodes", "description": "Vue Flow nodes" }, "edges": { "anyOf": [ { "items": {}, "type": "array" }, { "type": "null" } ], "title": "Edges", "description": "Vue Flow edges" }, "workflow_status": { "anyOf": [ { "type": "string", "maxLength": 32 }, { "type": "null" } ], "title": "Workflow Status", "description": "draft/published/archived" } }, "type": "object", "required": [ "name", "code" ], "title": "WorkflowUpdateSchema", "description": "更新工作流" }, "WorkspaceOrderItem": { "properties": { "id": { "type": "integer", "title": "Id", "description": "订单ID" }, "order_no": { "type": "string", "title": "Order No", "description": "订单号" }, "amount": { "type": "integer", "minimum": 0, "title": "Amount", "description": "订单金额(分)" }, "order_type": { "$ref": "#/components/schemas/OrderTypeEnum" }, "status": { "type": "integer", "title": "Status", "description": "订单状态(0:待支付 1:已支付 2:已取消 3:已退款)" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At", "description": "创建时间" } }, "type": "object", "required": [ "id", "order_no", "amount", "order_type", "status" ], "title": "WorkspaceOrderItem", "description": "工作台-近期订单项" }, "WorkspaceOut": { "properties": { "tenant": { "$ref": "#/components/schemas/WorkspaceTenantInfo", "description": "租户信息" }, "package": { "anyOf": [ { "$ref": "#/components/schemas/WorkspacePackageInfo" }, { "type": "null" } ], "description": "当前套餐信息" }, "quota": { "$ref": "#/components/schemas/WorkspaceQuotaInfo", "description": "配额用量" }, "recent_orders": { "items": { "$ref": "#/components/schemas/WorkspaceOrderItem" }, "type": "array", "title": "Recent Orders", "description": "近期订单(最多5条)" } }, "type": "object", "required": [ "tenant", "quota" ], "title": "WorkspaceOut", "description": "工作台概览" }, "WorkspacePackageInfo": { "properties": { "id": { "type": "integer", "title": "Id", "description": "套餐ID" }, "name": { "type": "string", "title": "Name", "description": "套餐名称" }, "price": { "type": "integer", "minimum": 0, "title": "Price", "description": "价格(分)" }, "period": { "type": "string", "title": "Period", "description": "计费周期" }, "max_users": { "type": "integer", "minimum": 0, "title": "Max Users", "description": "最大用户数" }, "max_roles": { "type": "integer", "minimum": 0, "title": "Max Roles", "description": "最大角色数" }, "max_depts": { "type": "integer", "minimum": 0, "title": "Max Depts", "description": "最大部门数" } }, "type": "object", "required": [ "id", "name", "price", "period", "max_users", "max_roles", "max_depts" ], "title": "WorkspacePackageInfo", "description": "工作台-套餐信息" }, "WorkspaceQuotaInfo": { "properties": { "max_users": { "type": "integer", "minimum": 0, "title": "Max Users", "description": "最大用户数", "default": 0 }, "max_roles": { "type": "integer", "minimum": 0, "title": "Max Roles", "description": "最大角色数", "default": 0 }, "max_depts": { "type": "integer", "minimum": 0, "title": "Max Depts", "description": "最大部门数", "default": 0 }, "current_users": { "type": "integer", "minimum": 0, "title": "Current Users", "description": "当前用户数", "default": 0 }, "current_roles": { "type": "integer", "minimum": 0, "title": "Current Roles", "description": "当前角色数", "default": 0 }, "current_depts": { "type": "integer", "minimum": 0, "title": "Current Depts", "description": "当前部门数", "default": 0 }, "usage_percent": { "$ref": "#/components/schemas/WorkspaceUsagePercent", "description": "用量占比" } }, "type": "object", "title": "WorkspaceQuotaInfo", "description": "工作台-配额用量" }, "WorkspaceTenantInfo": { "properties": { "id": { "type": "integer", "title": "Id", "description": "租户ID" }, "name": { "type": "string", "title": "Name", "description": "租户名称" }, "code": { "type": "string", "title": "Code", "description": "租户编码" }, "status": { "type": "integer", "title": "Status", "description": "租户状态(0:正常 1:宽限期 2:已暂停 3:已冻结 4:已过期 5:已归档)" }, "status_label": { "type": "string", "title": "Status Label", "description": "租户状态描述" }, "start_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Time", "description": "开始时间" }, "end_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Time", "description": "结束时间" }, "days_remaining": { "type": "integer", "title": "Days Remaining", "description": "剩余天数", "default": 0 } }, "type": "object", "required": [ "id", "name", "code", "status", "status_label" ], "title": "WorkspaceTenantInfo", "description": "工作台-租户信息" }, "WorkspaceUsagePercent": { "properties": { "users": { "type": "number", "minimum": 0, "title": "Users", "description": "用户用量占比(%)", "default": 0 }, "roles": { "type": "number", "minimum": 0, "title": "Roles", "description": "角色用量占比(%)", "default": 0 }, "depts": { "type": "number", "minimum": 0, "title": "Depts", "description": "部门用量占比(%)", "default": 0 } }, "type": "object", "title": "WorkspaceUsagePercent", "description": "工作台-用量百分比" } }, "securitySchemes": { "CustomOAuth2PasswordBearer": { "type": "oauth2", "description": "认证", "flows": { "password": { "scopes": {}, "tokenUrl": "system/auth/login" } } } } }, "servers": [ { "url": "/api/v1" } ] }