{
"openapi": "3.0.4",
"info": {
"title": "系统管理",
"description": "核心功能:用户、角色、菜单,构成基本权限体系。\r<br/>核心配置:基本设置、系统设置、魔方设置、数据中间件。\r<br/>OAuth功能:OAuth配置微信钉钉等多个第三方SSO登录。\r<br/>安全功能:审计日志、访问规则,保障系统安全。\r<br/>配套功能:租户、部门、字典参数、用户在线与统计、数据库管理、系统信息。",
"version": "6.5.2025.0712"
},
"paths": {
"/Admin/AccessRule": {
"delete": {
"tags": [
"AccessRule"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "a26d03286dbc3d38357ed51e4a360fe8"
},
"post": {
"tags": [
"AccessRule"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b045eb32d8a59280fa8a3c9decac3e43"
},
"put": {
"tags": [
"AccessRule"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRuleModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "731bad4deedf9e57abbd8f9808359f2d"
},
"get": {
"tags": [
"AccessRule"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b848432608c6462d8762a2bd50ed6723"
}
},
"/Admin/AccessRule/Detail": {
"get": {
"tags": [
"AccessRule"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "ad287d9d17fab7c531558ff08a4d6757"
}
},
"/Admin/AccessRule/GetFields": {
"get": {
"tags": [
"AccessRule"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "12cb3bc649d6362d8dc73b5f2d0f0ebd"
}
},
"/Admin/Core": {
"get": {
"tags": [
"Core"
],
"summary": "显示对象",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Setting"
}
}
}
}
},
"operationId": "c636de7bd2830d04ded06e9dc0e0e924"
},
"put": {
"tags": [
"Core"
],
"summary": "保存对象",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Setting"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Setting"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Setting"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Setting"
}
}
}
}
},
"operationId": "b70d2d392628a52776461013f3d5c056"
}
},
"/Admin/Core/GetFields": {
"get": {
"tags": [
"Core"
],
"summary": "获取字段",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "aff5a7b160ac3cb2ac8299562c68f804"
}
},
"/Admin/Cube/GetLoginConfig": {
"get": {
"tags": [
"Cube"
],
"summary": "获取登录设置",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "a013b741162f346fd2c09941f929756e"
}
},
"/Admin/Cube": {
"get": {
"tags": [
"Cube"
],
"summary": "显示对象",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.CubeSetting"
}
}
}
}
},
"operationId": "37b6be816281c801cf77892ec458c1d4"
},
"put": {
"tags": [
"Cube"
],
"summary": "保存对象",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.CubeSetting"
}
}
}
}
},
"operationId": "eb834d00dbe63e678dd1597ea0ec1956"
}
},
"/Admin/Cube/GetFields": {
"get": {
"tags": [
"Cube"
],
"summary": "获取字段",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "5b6ec968a82bd7455aaeee9de032ee53"
}
},
"/Admin/Db": {
"get": {
"tags": [
"Db"
],
"summary": "数据库列表",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "f413d8afda238b44fdb515eefcfbfe63"
}
},
"/Admin/Db/Backup": {
"post": {
"tags": [
"Db"
],
"summary": "备份数据库",
"parameters": [
{
"name": "name",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "9994c943073f319d096054565086ba10"
}
},
"/Admin/Db/BackupAndCompress": {
"post": {
"tags": [
"Db"
],
"summary": "备份并压缩数据库",
"parameters": [
{
"name": "name",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "15173b449859a3b16f7c41dff6661d8e"
}
},
"/Admin/Db/Download": {
"get": {
"tags": [
"Db"
],
"summary": "下载数据库备份",
"parameters": [
{
"name": "name",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "899e5644b0d4a11c5d332e3db173fb8c"
}
},
"/Admin/Department": {
"delete": {
"tags": [
"Department"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "532c67a748baf1cd5d540147b7dc4a8d"
},
"post": {
"tags": [
"Department"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "13d87b281d2742256d748a814a5d128a"
},
"put": {
"tags": [
"Department"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.DepartmentModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "fd71b743354634384cf68a9fd52957d4"
},
"get": {
"tags": [
"Department"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "290f92153c1606e62706b16e7b83c08d"
}
},
"/Admin/Department/Detail": {
"get": {
"tags": [
"Department"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "4e0bf7843cd3954370003fff48b9bc5d"
}
},
"/Admin/Department/GetFields": {
"get": {
"tags": [
"Department"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "b667e5cdde9d51d39afd2d64a169277e"
}
},
"/Admin/File": {
"get": {
"tags": [
"File"
],
"summary": "文件管理主视图",
"parameters": [
{
"name": "r",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sort",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "message",
"in": "query",
"schema": {
"type": "string",
"default": ""
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "236c711f7ccd6eaa505364eebd7b9968"
}
},
"/Admin/File/Delete": {
"post": {
"tags": [
"File"
],
"summary": "删除",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "c8ffd50cd112e1605f223caf8e78c74b"
}
},
"/Admin/File/Compress": {
"post": {
"tags": [
"File"
],
"summary": "压缩文件",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "d181e2b564a442d185e7b4deedf18c81"
}
},
"/Admin/File/Decompress": {
"post": {
"tags": [
"File"
],
"summary": "解压缩",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "cb84d013cc18b3c9113bc546393ec4e4"
}
},
"/Admin/File/Upload": {
"post": {
"tags": [
"File"
],
"summary": "上传文件",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "",
"format": "binary"
}
}
},
"encoding": {
"file": {
"style": "form"
}
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "e4092db99eead10c9175f09e6a511ca2"
}
},
"/Admin/File/UploadLayui": {
"post": {
"tags": [
"File"
],
"summary": "上传文件",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "",
"format": "binary"
}
}
},
"encoding": {
"file": {
"style": "form"
}
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "a4a4a4f5e3c93b475c619d2995c493ac"
}
},
"/Admin/File/UploadAvatar": {
"post": {
"tags": [
"File"
],
"summary": "上传头像",
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "",
"format": "binary"
}
}
},
"encoding": {
"file": {
"style": "form"
}
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "bdfc1121808e172cb3e2fd96191d7013"
}
},
"/Admin/File/Download": {
"post": {
"tags": [
"File"
],
"summary": "下载文件",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "f4012061ae30399d1135292f595c4746"
}
},
"/Admin/File/Copy": {
"post": {
"tags": [
"File"
],
"summary": "复制文件到剪切板",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
},
{
"name": "f",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "27624b1e7a143d5a49c58d5b3a62a12f"
}
},
"/Admin/File/CancelCopy": {
"post": {
"tags": [
"File"
],
"summary": "从剪切板移除",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
},
{
"name": "f",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "7a34273883ce90a58685c9c990d93a7d"
}
},
"/Admin/File/Paste": {
"post": {
"tags": [
"File"
],
"summary": "粘贴文件到当前目录",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "6342d3e4dae643e8d1aea49253dbe53e"
}
},
"/Admin/File/Move": {
"post": {
"tags": [
"File"
],
"summary": "移动文件到当前目录",
"parameters": [
{
"name": "r",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "dcae16a755cfcfe4b04dea5af3ba0006"
}
},
"/Admin/File/ClearClipboard": {
"post": {
"tags": [
"File"
],
"summary": "清空剪切板",
"parameters": [
{
"name": "r",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "5579de6eda5888e7adcfb559afc019a8"
}
},
"/Admin/Index": {
"get": {
"tags": [
"Index"
],
"summary": "首页",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "b0724deb950a71e57871bb7ee31a459f"
}
},
"/Admin/Index/Main": {
"get": {
"tags": [
"Index"
],
"summary": "服务器信息",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "237e11399e826b761a6dc0253de8c180"
}
},
"/Admin/Index/ServerVarList": {
"get": {
"tags": [
"Index"
],
"summary": "服务器变量列表",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "5eb5df815fb1e06fd6fae93e59c8189d"
}
},
"/Admin/Index/ProcessList": {
"get": {
"tags": [
"Index"
],
"summary": "进程模块列表",
"parameters": [
{
"name": "model",
"in": "query",
"description": "All全部,OnlyUser用户",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "ea5920e7f42a4ea2bbe82fee1d4fad58"
}
},
"/Admin/Index/AssemblyList": {
"get": {
"tags": [
"Index"
],
"summary": "程序集列表",
"parameters": [
{
"name": "model",
"in": "query",
"description": "",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "89f2e0a2c2bdde74da423a78e1a21ed5"
}
},
"/Admin/Index/Restart": {
"post": {
"tags": [
"Index"
],
"summary": "重启",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "92b0d61c7b844b208f4bc690397aca78"
}
},
"/Admin/Index/MemoryFree": {
"get": {
"tags": [
"Index"
],
"summary": "释放内存,参考之前的Runtime方法",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "9c0cd370b6bb9968d30c36026bc574dc"
}
},
"/Admin/Index/GetMenuTree": {
"get": {
"tags": [
"Index"
],
"summary": "获取菜单树",
"parameters": [
{
"name": "module",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "b7e7962ce184091ed3b3549053e08609"
}
},
"/Admin/Log": {
"get": {
"tags": [
"Log"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Log, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "32b078bd321bfb767a22bab3ef79b34e"
}
},
"/Admin/Log/Detail": {
"get": {
"tags": [
"Log"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Log, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "774a14afe4424a6d96070c14ffc7a0a1"
}
},
"/Admin/Log/GetFields": {
"get": {
"tags": [
"Log"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "3cf5322ba5fa04e89be8224430e63477"
}
},
"/Admin/Menu/Up": {
"patch": {
"tags": [
"Menu"
],
"summary": "上升",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "80a94c3c8173329eb09eaf7d532dca76"
}
},
"/Admin/Menu/Down": {
"patch": {
"tags": [
"Menu"
],
"summary": "下降",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "fe3bd2bba77f84ee30105f51f57a6315"
}
},
"/Admin/Menu": {
"delete": {
"tags": [
"Menu"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "95cc3075b9dc5ae25e6bf8b4188ca5ff"
},
"post": {
"tags": [
"Menu"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "14f18dd3112f875f56ee47d1fb2d6c65"
},
"put": {
"tags": [
"Menu"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.MenuModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "7404fbd6447120da637a1090e9fc3f83"
},
"get": {
"tags": [
"Menu"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "ea24f5ecc0d3ef652a47ffb918ca7c45"
}
},
"/Admin/Menu/Detail": {
"get": {
"tags": [
"Menu"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "15bc41fcd136970b7ea30df9abf555b4"
}
},
"/Admin/Menu/GetFields": {
"get": {
"tags": [
"Menu"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "6e662b2682b1a5d70961c4d08e27bfb0"
}
},
"/Admin/OAuthConfig": {
"delete": {
"tags": [
"OAuthConfig"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "473ee2b520f87450270b04ba0f09f90c"
},
"post": {
"tags": [
"OAuthConfig"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "28ea50314fb87af9e3d22a7d39aa018d"
},
"put": {
"tags": [
"OAuthConfig"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfigModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "2b72e7a344a75dee14705213d6add2bb"
},
"get": {
"tags": [
"OAuthConfig"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "fb375e53036c1052c60e7f73e723261d"
}
},
"/Admin/OAuthConfig/Detail": {
"get": {
"tags": [
"OAuthConfig"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "f487f854fa64b8750c4bc6d9d3f98bfa"
}
},
"/Admin/OAuthConfig/GetFields": {
"get": {
"tags": [
"OAuthConfig"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "df7c41dc4bddb1f343836df60d661e11"
}
},
"/Admin/OAuthLog": {
"get": {
"tags": [
"OAuthLog"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.OAuthLog, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "47d0bf900f28d45fe9afe85e1a25aa1f"
}
},
"/Admin/OAuthLog/Detail": {
"get": {
"tags": [
"OAuthLog"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthLog, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "13f1da29af1d5df4157cc1962be6d89e"
}
},
"/Admin/OAuthLog/GetFields": {
"get": {
"tags": [
"OAuthLog"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "d89e1a91241762674ed095b095ae3f8e"
}
},
"/Admin/Parameter": {
"delete": {
"tags": [
"Parameter"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "d349ab4d35fe87f4ac66eb740f10188d"
},
"post": {
"tags": [
"Parameter"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "a544517596dca9dabc19d39b173c4066"
},
"put": {
"tags": [
"Parameter"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.ParameterModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "1bad54144bffd2e5bc24aed4bbe9337f"
},
"get": {
"tags": [
"Parameter"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "ba363c54cc2ad12a6f20bfb62ef9ef52"
}
},
"/Admin/Parameter/Detail": {
"get": {
"tags": [
"Parameter"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "f1994291f8b9c80da0e08e3ffe96d2ee"
}
},
"/Admin/Parameter/GetFields": {
"get": {
"tags": [
"Parameter"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "302a52096d025493814c6d14edfa4572"
}
},
"/Admin/Role": {
"delete": {
"tags": [
"Role"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "333dc3b976ce275344e8c8f7b168b3d9"
},
"post": {
"tags": [
"Role"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b61e7e6542e10b22e49a9b95957d8c9e"
},
"put": {
"tags": [
"Role"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.RoleModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "9b47260d2c4f6afaada20f5dab5d3bee"
},
"get": {
"tags": [
"Role"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "e70eb8a9a42cd5e28546c55f1c83d801"
}
},
"/Admin/Role/Detail": {
"get": {
"tags": [
"Role"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "4ebacfc2d2e695c190b0ffd1cea7bbfa"
}
},
"/Admin/Role/GetFields": {
"get": {
"tags": [
"Role"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "489880efa54eb66afbf1a3905e56d1e8"
}
},
"/Admin/Sys": {
"get": {
"tags": [
"Sys"
],
"summary": "显示对象",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Common.SysConfig"
}
}
}
}
},
"operationId": "cb72eb2d17e7cbbb38afa76eb0c63c49"
},
"put": {
"tags": [
"Sys"
],
"summary": "保存对象",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Common.SysConfig"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Common.SysConfig"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Common.SysConfig"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Common.SysConfig"
}
}
}
}
},
"operationId": "c2cdb36d9e2efa4a85204fb61629f9a9"
}
},
"/Admin/Sys/GetFields": {
"get": {
"tags": [
"Sys"
],
"summary": "获取字段",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "99d918ee6fe36bbbc5eed2f363908fb3"
}
},
"/Admin/Tenant": {
"delete": {
"tags": [
"Tenant"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "8e924477cd43ecd9eeea4f2e3b64056f"
},
"post": {
"tags": [
"Tenant"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "8acf3264469b889c4c75bbb58b2aaa3d"
},
"put": {
"tags": [
"Tenant"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "d3c3e5fd443916d4fda56a5fedeece73"
},
"get": {
"tags": [
"Tenant"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "033e9144bc9ae2b1ffa3c60912187b3f"
}
},
"/Admin/Tenant/Detail": {
"get": {
"tags": [
"Tenant"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b2df956b810bd02c1129d2e59fdda2c9"
}
},
"/Admin/Tenant/GetFields": {
"get": {
"tags": [
"Tenant"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "f0dc373e7bd617023fecbf593cee40e1"
}
},
"/Admin/TenantUser": {
"delete": {
"tags": [
"TenantUser"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "dd960528d1ac91e21fbbfc5093c09d8e"
},
"post": {
"tags": [
"TenantUser"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "e998c0133903849f7281fb5c638a94e5"
},
"put": {
"tags": [
"TenantUser"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.TenantUserModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "37ce2cf6b4c3e3db49daddfb8df4b92c"
},
"get": {
"tags": [
"TenantUser"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b751ed277e4bbd276555f0935c275e38"
}
},
"/Admin/TenantUser/Detail": {
"get": {
"tags": [
"TenantUser"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "4d11dbe29ffa9b7e59909965da7d19d5"
}
},
"/Admin/TenantUser/GetFields": {
"get": {
"tags": [
"TenantUser"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "32c61dba6b21bebde50b9046fdf433dc"
}
},
"/Admin/User/Login": {
"post": {
"tags": [
"User"
],
"summary": "密码登录",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.LoginModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.LoginModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.LoginModel"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "cd1dd08309bf5b2b4df6117dfb619d5b"
}
},
"/Admin/User/Logout": {
"get": {
"tags": [
"User"
],
"summary": "注销",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "d2e737c2166a6fcb818cbfbad69fcba0"
}
},
"/Admin/User/Info": {
"get": {
"tags": [
"User"
],
"summary": "获取当前登录用户资料",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "28ab93bf02916ac189bbad105a20305f"
},
"post": {
"tags": [
"User"
],
"summary": "更新用户资料",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.User"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.User"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "a21ebdce735c5dd278d786b5d0ddf504"
}
},
"/Admin/User/ChangePassword": {
"post": {
"tags": [
"User"
],
"summary": "修改密码",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.ChangePasswordModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.ChangePasswordModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.ChangePasswordModel"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "85fb0fb9ec4e8e399f7511ece1567a38"
}
},
"/Admin/User/Binds": {
"get": {
"tags": [
"User"
],
"summary": "用户绑定",
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "7f2075a0e3589de06eea9acdd7e925e1"
}
},
"/Admin/User/Register": {
"post": {
"tags": [
"User"
],
"summary": "注册",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.RegisterModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.RegisterModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Areas.Admin.Models.RegisterModel"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "f5f7e7110a1de6a2ec6ab3175b53f685"
}
},
"/Admin/User/ClearPassword": {
"post": {
"tags": [
"User"
],
"summary": "清空密码",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "OK"
}
},
"operationId": "5ee5cc89c9ec31e66bae9101671d3832"
}
},
"/Admin/User": {
"delete": {
"tags": [
"User"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "12fc514c82f1890d118544183f2f6e7f"
},
"post": {
"tags": [
"User"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "aa0f5b6f344273ffcb58971ae571ae19"
},
"put": {
"tags": [
"User"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.Membership.UserModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "cea71d69c19250ada4f0213f14f87053"
},
"get": {
"tags": [
"User"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "02369960ee6324c9de1f83dae5f5e7ba"
}
},
"/Admin/User/Detail": {
"get": {
"tags": [
"User"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "a9e55c52b3e3bca4bfc4d79419a8d2f9"
}
},
"/Admin/User/GetFields": {
"get": {
"tags": [
"User"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "e70fb2278a8d10d7fd8250758557be52"
}
},
"/Admin/UserConnect": {
"delete": {
"tags": [
"UserConnect"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "44c905476fc94c717b3576991517b1c0"
},
"post": {
"tags": [
"UserConnect"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "fee8901f20554f2705d2791e4e714110"
},
"put": {
"tags": [
"UserConnect"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnectModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "7a8b01fdbf4400a1ece74926a1a6bf0a"
},
"get": {
"tags": [
"UserConnect"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "0707816978831a4fa7dfc1d970ea5f3b"
}
},
"/Admin/UserConnect/Detail": {
"get": {
"tags": [
"UserConnect"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "71bc7de7b40ec07442e3bd86f6fd8e9a"
}
},
"/Admin/UserConnect/GetFields": {
"get": {
"tags": [
"UserConnect"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "d180f8166158cff9919ab0272b4a2260"
}
},
"/Admin/UserOnline": {
"delete": {
"tags": [
"UserOnline"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "0210a87e7fab1a5074829183c496ca49"
},
"post": {
"tags": [
"UserOnline"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "89fc7fb7543fb86f56048287426c379b"
},
"put": {
"tags": [
"UserOnline"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnlineModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "aca955d2fddae55ee16b1c3f556434f0"
},
"get": {
"tags": [
"UserOnline"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "dcdb51b5ac30995553b52c9e5bf0a18e"
}
},
"/Admin/UserOnline/Detail": {
"get": {
"tags": [
"UserOnline"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "d84ad7420d6d1c6e050e8f3851457da9"
}
},
"/Admin/UserOnline/GetFields": {
"get": {
"tags": [
"UserOnline"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "cc7bfd6a89d04a9a253408c782ee9440"
}
},
"/Admin/UserStat": {
"get": {
"tags": [
"UserStat"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserStat, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "25042056146a2fde339853bee00d2f54"
}
},
"/Admin/UserStat/Detail": {
"get": {
"tags": [
"UserStat"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserStat, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "b42f0f75bbe2c840f7242e7c4a3c42c8"
}
},
"/Admin/UserStat/GetFields": {
"get": {
"tags": [
"UserStat"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "f6566052059564b2865f3c375f77c94c"
}
},
"/Admin/UserToken": {
"delete": {
"tags": [
"UserToken"
],
"summary": "删除数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "c2da2495e0e2949a01abb093af3ad8f7"
},
"post": {
"tags": [
"UserToken"
],
"summary": "添加数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "4a0861d5b5c830cdeda0fecfd65330a0"
},
"put": {
"tags": [
"UserToken"
],
"summary": "更新数据",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserTokenModel"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "61ecf938b0dec6818cc9e17d1b9c6ba5"
},
"get": {
"tags": [
"UserToken"
],
"summary": "多行数据列表",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "d8457589834e36a013f6d5aa74705b14"
}
},
"/Admin/UserToken/Detail": {
"get": {
"tags": [
"UserToken"
],
"summary": "查看单行数据",
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键。可能为空(表示添加),所以用字符串而不是整数",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]"
}
}
}
}
},
"operationId": "f1eed3391764d6fa8bfb2b374c6c8382"
}
},
"/Admin/UserToken/GetFields": {
"get": {
"tags": [
"UserToken"
],
"summary": "获取字段信息。支持用户重载并根据上下文定制界面",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "字段类型:1-列表List、2-详情Detail、3-添加AddForm、4-编辑EditForm、5-搜索Search",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "c8f8e1e97031850afb6961c2af5767ec"
}
},
"/Admin/XCode": {
"get": {
"tags": [
"XCode"
],
"summary": "显示对象",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.XCodeSetting"
}
}
}
}
},
"operationId": "4fb4aea320e27f4ddc965bcc819ab4f0"
},
"put": {
"tags": [
"XCode"
],
"summary": "保存对象",
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.XCodeSetting"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XCode.XCodeSetting"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XCode.XCodeSetting"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XCode.XCodeSetting"
}
}
}
}
},
"operationId": "f652e2fd003fb3f0204b93d89505490b"
}
},
"/Admin/XCode/GetFields": {
"get": {
"tags": [
"XCode"
],
"summary": "获取字段",
"parameters": [
{
"name": "kind",
"in": "query",
"description": "",
"schema": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.ViewKinds"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.ViewModels.DataField"
}
}
}
}
}
},
"operationId": "224fefbf9ce88140c2a968d5ea7fbd9b"
}
}
},
"components": {
"schemas": {
"NewLife.Common.SysConfig": {
"type": "object",
"properties": {
"isNew": {
"type": "boolean",
"readOnly": true
},
"name": {
"type": "string",
"description": "用于标识系统的英文名",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"description": "用户可见的名称",
"nullable": true
},
"company": {
"type": "string",
"nullable": true
},
"instance": {
"type": "integer",
"format": "int32"
},
"develop": {
"type": "boolean"
},
"enable": {
"type": "boolean"
},
"installTime": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRule"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRule"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfig"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfig"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.OAuthLog, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthLog"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthLog"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnect"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnect"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnline"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnline"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserStat, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserStat"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserStat"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserToken"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserToken"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Department"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Department"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Log, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Log"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Log"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Parameter"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Parameter"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Role"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Role"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.TenantUser"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.TenantUser"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiListResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"description": "响应数据",
"nullable": true
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
},
"page": {
"$ref": "#/components/schemas/NewLife.Web.PageModel"
},
"stat": {
"$ref": "#/components/schemas/XCode.Membership.User"
}
},
"additionalProperties": false,
"description": "列表响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.AccessRule, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessRule"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthConfig, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthConfig"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.OAuthLog, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.OAuthLog"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserConnect, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserConnect"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserOnline, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserOnline"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserStat, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserStat"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[NewLife.Cube.Entity.UserToken, NewLife.Cube, Version=6.5.9324.37994, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.UserToken"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Department, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Department"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Log, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Log"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Menu, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Parameter, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Parameter"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Role, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Role"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.Tenant, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.TenantUser, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.TenantUser"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.ApiResponse`1[[XCode.Membership.User, XCode, Version=11.19.2025.601, Culture=neutral, PublicKeyToken=8343210f0b524456]]": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "代码。0表示成功,其它为错误代码",
"format": "int32"
},
"message": {
"type": "string",
"description": "消息内容。成功或错误时的提示文本",
"nullable": true
},
"data": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"traceId": {
"type": "string",
"description": "跟踪编号",
"nullable": true
}
},
"additionalProperties": false,
"description": "响应模型"
},
"NewLife.Cube.Areas.Admin.Models.ChangePasswordModel": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "用户名",
"nullable": true
},
"ssoName": {
"type": "string",
"description": "Sso登录渠道",
"nullable": true
},
"oldPassword": {
"type": "string",
"description": "旧密码",
"nullable": true
},
"newPassword": {
"type": "string",
"description": "新密码",
"nullable": true
},
"newPassword2": {
"type": "string",
"description": "确认密码",
"nullable": true
}
},
"additionalProperties": false,
"description": "修改密码模型"
},
"NewLife.Cube.Areas.Admin.Models.LoginModel": {
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "登录用户名",
"nullable": true
},
"password": {
"type": "string",
"description": "密码",
"nullable": true
},
"remember": {
"type": "boolean",
"description": "记住登录状态"
}
},
"additionalProperties": false,
"description": "登录模型"
},
"NewLife.Cube.Areas.Admin.Models.RegisterModel": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "电子邮箱",
"nullable": true
},
"username": {
"type": "string",
"description": "用户名",
"nullable": true
},
"password": {
"type": "string",
"description": "密码",
"nullable": true
},
"password2": {
"type": "string",
"description": "确认密码",
"nullable": true
}
},
"additionalProperties": false,
"description": "注册模型"
},
"NewLife.Cube.CubeSetting": {
"type": "object",
"properties": {
"isNew": {
"type": "boolean",
"readOnly": true
},
"debug": {
"type": "boolean",
"description": "是否启用调试。默认true"
},
"showRunTime": {
"type": "boolean",
"description": "显示运行时间"
},
"avatarPath": {
"type": "string",
"description": "头像目录。设定后下载远程头像到本地,默认Avatars子目录,web上一级Avatars。清空表示不抓取",
"nullable": true
},
"uploadPath": {
"type": "string",
"description": "上传目录。默认Uploads",
"nullable": true
},
"webRootPath": {
"type": "string",
"description": "静态资源目录。默认wwwroot",
"nullable": true
},
"resourceUrl": {
"type": "string",
"description": "资源地址。指向CDN,如 https://sso.newlifex.com/content/,留空表示使用本地",
"nullable": true
},
"corsOrigins": {
"type": "string",
"description": "跨域来源。允许其它源访问当前域,指定其它源http地址,*表示任意域",
"nullable": true
},
"xFrameOptions": {
"type": "string",
"description": "在iframe中展示。SAMEORIGIN-允许相同域名,ALLOWALL-允许任何域名",
"nullable": true
},
"sameSiteMode": {
"type": "integer",
"description": "Cookie模式。token的cookies默认模式( -1 Unspecified,0 None,1 Lax,2 Strict)",
"format": "int32"
},
"cookieDomain": {
"type": "string",
"description": "Cookie域名。可用于把Cookie写到顶级域名,默认为空写当前域。写顶级域要求https,同时会导致普通http无法在本地域写同名键值",
"nullable": true
},
"shareExpire": {
"type": "integer",
"description": "分享有效期。分享令牌的有效期,默认7200秒",
"format": "int32"
},
"robotError": {
"type": "integer",
"description": "机器人错误码。设置后拦截各种爬虫并返回相应错误,如404/500,默认0不拦截",
"format": "int32"
},
"forceRedirect": {
"type": "string",
"description": "强制跳转。指定目标schema和host,在GET访问发现不一致时强制跳转,host支持*。常用于强制跳转https,如https://*:8081",
"nullable": true
},
"defaultRole": {
"type": "string",
"description": "默认角色。默认普通用户",
"nullable": true
},
"allowLogin": {
"type": "boolean",
"description": "允许密码登录。允许输入用户名密码进行登录"
},
"allowRegister": {
"type": "boolean",
"description": "允许注册。允许输入用户名密码进行注册"
},
"autoRegister": {
"type": "boolean",
"description": "自动注册。默认true,SSO登录后,如果本地未登录,自动注册新用户。全局设置和OAuth应用设置只要有一个启用则表示使用"
},
"paswordStrength": {
"type": "string",
"description": "密码强度。*表示无限制,默认8位起,数字大小写字母和符号",
"nullable": true
},
"maxLoginError": {
"type": "integer",
"description": "登录失败次数。短时间内,相同用户或IP地址连续登录错误次数达到该值后禁止登录,默认5",
"format": "int32"
},
"loginForbiddenTime": {
"type": "integer",
"description": "登录失败次数。短时间内,相同用户或IP地址连续登录错误次数达到该值后禁止登录,默认5",
"format": "int32"
},
"forceBindUser": {
"type": "boolean",
"description": "强行绑定用户名。根据SSO用户名强制绑定本地同名用户,而不需要增加提供者前缀,一般用于用户中心"
},
"forceBindUserCode": {
"type": "boolean",
"description": "绑定用户代码。根据SSO用户代码强制绑定本地用户"
},
"forceBindUserMobile": {
"type": "boolean",
"description": "绑定用户手机。根据SSO用户手机强制绑定本地用户"
},
"forceBindUserMail": {
"type": "boolean",
"description": "绑定用户邮箱。根据SSO用户邮箱强制绑定本地用户"
},
"forceBindNickName": {
"type": "boolean",
"description": "绑定用户昵称。根据SSO用户昵称强制绑定本地用户,内部SSO可用,不建议用于社交网络,重名太多"
},
"useSsoRole": {
"type": "boolean",
"description": "使用Sso角色。SSO登录后继续使用SSO角色,默认true;否则使用DefaultRole"
},
"useSsoDepartment": {
"type": "boolean",
"description": "使用Sso部门。SSO登录后继续使用SSO部门,默认true"
},
"logoutAll": {
"type": "boolean",
"description": "注销所有系统。false仅注销本系统,默认true时注销SsoServer"
},
"sessionTimeout": {
"type": "integer",
"description": "会话超时。单点登录后会话超时时间,该时间内可借助Cookie登录,默认0s",
"format": "int32"
},
"refreshUserPeriod": {
"type": "integer",
"description": "刷新用户周期。该周期内多次SSO登录只拉取一次用户信息,默认600秒",
"format": "int32"
},
"jwtSecret": {
"type": "string",
"description": "JWT密钥。用于生成JWT令牌的算法和密钥,如HS256:ABCD1234",
"nullable": true
},
"tokenExpire": {
"type": "integer",
"description": "令牌有效期。访问令牌AccessToken的有效期,默认7200秒",
"format": "int32"
},
"tokenCookie": {
"type": "boolean",
"description": "在Cookie中存储令牌。读取令牌时,如果请求头没有携带令牌,则从Cookie读取,默认false"
},
"startPage": {
"type": "string",
"description": "工作台页面。进入后台的第一个内容页",
"nullable": true
},
"theme": {
"type": "string",
"description": "主题样式。每一个内容页,ACE/layui",
"nullable": true
},
"skin": {
"type": "string",
"description": "首页皮肤。最外层框架页,ACE/layui",
"nullable": true
},
"loginTip": {
"type": "string",
"description": "登录提示。留空表示不显示登录提示信息",
"nullable": true
},
"formGroupClass": {
"type": "string",
"description": "表单组样式。大中小屏幕分别3/2/1列",
"nullable": true
},
"bootstrapSelect": {
"type": "boolean",
"description": "下拉选择框。使用Bootstrap,美观,但有呈现方面的性能损耗"
},
"maxDropDownList": {
"type": "integer",
"description": "最大下拉个数。表单页关联下拉列表最大允许个数,默认50,超过时显示文本数字框",
"format": "int32"
},
"copyright": {
"type": "string",
"description": "版权。留空表示不显示版权信息",
"nullable": true
},
"registration": {
"type": "string",
"description": "备案号。留空表示不显示备案信息",
"nullable": true
},
"enableNewUI": {
"type": "boolean",
"description": "启用新UI"
},
"eChartsTheme": {
"type": "string",
"description": "ECharts主题。图表样式主题",
"nullable": true
},
"titlePrefix": {
"type": "boolean",
"description": "标题后缀。在页面标题后面加上系统名称,默认true"
},
"enableTableDoubleClick": {
"type": "boolean",
"description": "双击事件禁用。列表页表格行双击事件禁用,默认true(启用)"
},
"starWeb": {
"type": "string",
"description": "星尘Web。星尘控制台地址,支持直达调用链 /trace?id={traceId} 或 /graph?id={traceId}",
"nullable": true
},
"enableOAuthServer": {
"type": "boolean",
"description": "OAuth服务。是否启用OAuth2.0服务,为其它应用提供单点登录服务"
},
"enableTenant": {
"type": "boolean",
"description": "多租户。是否支持多租户,租户模式禁止访问系统管理,平台管理模式禁止访问租户页面"
},
"enableUserOnline": {
"type": "integer",
"description": "用户在线。是否记录用户在线信息,0表示不记录,1表示仅记录已登录用户,2表示记录所有访客。默认2",
"format": "int32"
},
"enableUserStat": {
"type": "boolean",
"description": "用户统计。是否统计用户访问,默认true"
},
"dataRetention": {
"type": "integer",
"description": "数据保留时间。审计日志与OAuth日志,默认30天",
"format": "int32"
},
"fileRetention": {
"type": "integer",
"description": "文件保留时间。备份文件保留时间,默认15天",
"format": "int32"
},
"fileRetentionSize": {
"type": "integer",
"description": "保留文件大小。小于该大小的文件将不会被删除,即使超过保留时间,单位K字节,默认1024K",
"format": "int32"
},
"maxExport": {
"type": "integer",
"description": "最大导出行数。页面允许导出的最大行数,默认10_000_000",
"format": "int32"
},
"maxBackup": {
"type": "integer",
"description": "最大备份行数。页面允许备份的最大行数,默认10_000_000",
"format": "int32"
}
},
"additionalProperties": false,
"description": "魔方设置"
},
"NewLife.Cube.Entity.AccessActionKinds": {
"enum": [
1,
2,
3
],
"type": "integer",
"description": "安全访问动作类型",
"format": "int32"
},
"NewLife.Cube.Entity.AccessRule": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"priority": {
"type": "integer",
"description": "优先级。较大优先",
"format": "int32"
},
"url": {
"type": "string",
"description": "URL路径。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"userAgent": {
"type": "string",
"description": "用户代理。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"ip": {
"type": "string",
"description": "来源IP。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"loginedUser": {
"type": "string",
"description": "登录用户。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"actionKind": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessActionKinds"
},
"blockCode": {
"type": "integer",
"description": "拦截代码。拦截时返回Http代码,如404/500/302等",
"format": "int32"
},
"blockContent": {
"type": "string",
"description": "拦截内容。拦截时返回内容,返回302时此处调目标地址",
"nullable": true
},
"limitDimension": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.LimitDimensions"
},
"limitCycle": {
"type": "integer",
"description": "限流时间。限流时的考察时间,期间累加规则触发次数,如600秒",
"format": "int32"
},
"limitTimes": {
"type": "integer",
"description": "限流次数。限流考察期间达到该阈值时,执行拦截",
"format": "int32"
},
"createUserID": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "内容",
"nullable": true
}
},
"additionalProperties": false,
"description": "访问规则。控制系统访问的安全访问规则,放行或拦截或限流"
},
"NewLife.Cube.Entity.AccessRuleModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"priority": {
"type": "integer",
"description": "优先级。较大优先",
"format": "int32"
},
"url": {
"type": "string",
"description": "URL路径。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"userAgent": {
"type": "string",
"description": "用户代理。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"ip": {
"type": "string",
"description": "来源IP。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"loginedUser": {
"type": "string",
"description": "登录用户。支持*模糊匹配,多个逗号隔开",
"nullable": true
},
"actionKind": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.AccessActionKinds"
},
"blockCode": {
"type": "integer",
"description": "拦截代码。拦截时返回Http代码,如404/500/302等",
"format": "int32"
},
"blockContent": {
"type": "string",
"description": "拦截内容。拦截时返回内容,返回302时此处调目标地址",
"nullable": true
},
"limitDimension": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.LimitDimensions"
},
"limitCycle": {
"type": "integer",
"description": "限流时间。限流时的考察时间,期间累加规则触发次数,如600秒",
"format": "int32"
},
"limitTimes": {
"type": "integer",
"description": "限流次数。限流考察期间达到该阈值时,执行拦截",
"format": "int32"
},
"createUserID": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "内容",
"nullable": true
}
},
"additionalProperties": false,
"description": "访问规则。控制系统访问的安全访问规则,放行或拦截或限流"
},
"NewLife.Cube.Entity.GrantTypes": {
"enum": [
0,
1,
2,
3
],
"type": "integer",
"description": "OAuth2.0授权类型",
"format": "int32"
},
"NewLife.Cube.Entity.LimitDimensions": {
"enum": [
1,
2
],
"type": "integer",
"description": "限流维度",
"format": "int32"
},
"NewLife.Cube.Entity.OAuthConfig": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称。提供者名称",
"nullable": true
},
"nickName": {
"type": "string",
"description": "昵称",
"nullable": true
},
"logo": {
"type": "string",
"description": "图标",
"nullable": true
},
"appId": {
"type": "string",
"description": "应用标识",
"nullable": true
},
"secret": {
"type": "string",
"description": "应用密钥",
"nullable": true
},
"server": {
"type": "string",
"description": "服务地址",
"nullable": true
},
"accessServer": {
"type": "string",
"description": "令牌服务地址。可以不同于验证地址的内网直达地址",
"nullable": true
},
"grantType": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.GrantTypes"
},
"scope": {
"type": "string",
"description": "授权范围",
"nullable": true
},
"authUrl": {
"type": "string",
"description": "验证地址。跳转SSO的验证地址",
"nullable": true
},
"accessUrl": {
"type": "string",
"description": "令牌地址。根据code换取令牌的地址",
"nullable": true
},
"userUrl": {
"type": "string",
"description": "用户地址。根据令牌获取用户信息的地址",
"nullable": true
},
"appUrl": {
"type": "string",
"description": "应用地址。域名和端口,应用系统经过反向代理重定向时指定外部地址",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"debug": {
"type": "boolean",
"description": "调试。设置处于调试状态,输出详细日志"
},
"visible": {
"type": "boolean",
"description": "可见。是否在登录页面可见,不可见的提供者只能使用应用内自动登录,例如微信公众号"
},
"autoRegister": {
"type": "boolean",
"description": "自动注册。SSO登录后,如果本地没有匹配用户,自动注册新用户,否则跳到登录页,在登录后绑定"
},
"autoRole": {
"type": "string",
"description": "自动角色。该渠道登录的用户,将会自动得到指定角色名,多个角色逗号隔开",
"nullable": true
},
"sort": {
"type": "integer",
"description": "排序。较大者在前面",
"format": "int32"
},
"securityKey": {
"type": "string",
"description": "安全密钥。公钥,用于RSA加密用户密码,在通信链路上保护用户密码安全,密钥前面可以增加keyName,形成keyName$keyValue,用于向服务端指示所使用的密钥标识,方便未来更换密钥。",
"nullable": true
},
"fieldMap": {
"type": "string",
"description": "字段映射。SSO用户字段如何映射到OAuthClient内部属性",
"nullable": true
},
"fetchAvatar": {
"type": "boolean",
"description": "抓取头像。是否抓取头像并保存到本地"
},
"isDeleted": {
"type": "boolean",
"description": "删除。是否已删除,可恢复"
},
"createUserID": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "内容",
"nullable": true
}
},
"additionalProperties": false,
"description": "OAuth配置。需要连接的OAuth认证方"
},
"NewLife.Cube.Entity.OAuthConfigModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称。提供者名称",
"nullable": true
},
"nickName": {
"type": "string",
"description": "昵称",
"nullable": true
},
"logo": {
"type": "string",
"description": "图标",
"nullable": true
},
"appId": {
"type": "string",
"description": "应用标识",
"nullable": true
},
"secret": {
"type": "string",
"description": "应用密钥",
"nullable": true
},
"server": {
"type": "string",
"description": "服务地址",
"nullable": true
},
"accessServer": {
"type": "string",
"description": "令牌服务地址。可以不同于验证地址的内网直达地址",
"nullable": true
},
"grantType": {
"$ref": "#/components/schemas/NewLife.Cube.Entity.GrantTypes"
},
"scope": {
"type": "string",
"description": "授权范围",
"nullable": true
},
"authUrl": {
"type": "string",
"description": "验证地址。跳转SSO的验证地址",
"nullable": true
},
"accessUrl": {
"type": "string",
"description": "令牌地址。根据code换取令牌的地址",
"nullable": true
},
"userUrl": {
"type": "string",
"description": "用户地址。根据令牌获取用户信息的地址",
"nullable": true
},
"appUrl": {
"type": "string",
"description": "应用地址。域名和端口,应用系统经过反向代理重定向时指定外部地址",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"debug": {
"type": "boolean",
"description": "调试。设置处于调试状态,输出详细日志"
},
"visible": {
"type": "boolean",
"description": "可见。是否在登录页面可见,不可见的提供者只能使用应用内自动登录,例如微信公众号"
},
"autoRegister": {
"type": "boolean",
"description": "自动注册。SSO登录后,如果本地没有匹配用户,自动注册新用户,否则跳到登录页,在登录后绑定"
},
"autoRole": {
"type": "string",
"description": "自动角色。该渠道登录的用户,将会自动得到指定角色名,多个角色逗号隔开",
"nullable": true
},
"sort": {
"type": "integer",
"description": "排序。较大者在前面",
"format": "int32"
},
"securityKey": {
"type": "string",
"description": "安全密钥。公钥,用于RSA加密用户密码,在通信链路上保护用户密码安全,密钥前面可以增加keyName,形成keyName$keyValue,用于向服务端指示所使用的密钥标识,方便未来更换密钥。",
"nullable": true
},
"fieldMap": {
"type": "string",
"description": "字段映射。SSO用户字段如何映射到OAuthClient内部属性",
"nullable": true
},
"fetchAvatar": {
"type": "boolean",
"description": "抓取头像。是否抓取头像并保存到本地"
},
"isDeleted": {
"type": "boolean",
"description": "删除。是否已删除,可恢复"
},
"createUserID": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "内容",
"nullable": true
}
},
"additionalProperties": false,
"description": "OAuth配置。需要连接的OAuth认证方"
},
"NewLife.Cube.Entity.OAuthLog": {
"type": "object",
"properties": {
"user": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"userName": {
"type": "string",
"description": "用户",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int64"
},
"provider": {
"type": "string",
"description": "提供商",
"nullable": true
},
"connectId": {
"type": "integer",
"description": "链接",
"format": "int32"
},
"userId": {
"type": "integer",
"description": "用户",
"format": "int32"
},
"action": {
"type": "string",
"description": "操作",
"nullable": true
},
"success": {
"type": "boolean",
"description": "成功"
},
"redirectUri": {
"type": "string",
"description": "回调地址",
"nullable": true
},
"responseType": {
"type": "string",
"description": "响应类型。默认code",
"nullable": true
},
"scope": {
"type": "string",
"description": "授权域",
"nullable": true
},
"state": {
"type": "string",
"description": "状态数据",
"nullable": true
},
"source": {
"type": "string",
"description": "来源",
"nullable": true
},
"accessToken": {
"type": "string",
"description": "访问令牌",
"nullable": true
},
"refreshToken": {
"type": "string",
"description": "刷新令牌",
"nullable": true
},
"traceId": {
"type": "string",
"description": "追踪。链路追踪,用于APM性能追踪定位,还原该事件的调用链",
"nullable": true
},
"remark": {
"type": "string",
"description": "详细信息",
"nullable": true
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
}
},
"additionalProperties": false,
"description": "OAuth日志。用于记录OAuth客户端请求,同时Id作为state,避免向OAuthServer泄漏本机Url"
},
"NewLife.Cube.Entity.UserConnect": {
"type": "object",
"properties": {
"user": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"userName": {
"type": "string",
"description": "用户",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"provider": {
"type": "string",
"description": "提供商",
"nullable": true
},
"userID": {
"type": "integer",
"description": "用户。本地用户",
"format": "int32"
},
"openID": {
"type": "string",
"description": "身份标识。用户名、OpenID",
"nullable": true
},
"unionID": {
"type": "string",
"description": "全局标识。跨应用统一",
"nullable": true
},
"linkID": {
"type": "integer",
"description": "用户编号。第三方用户编号",
"format": "int64"
},
"nickName": {
"type": "string",
"description": "昵称",
"nullable": true
},
"deviceId": {
"type": "string",
"description": "设备标识。企业微信用于唯一标识设备,重装后改变",
"nullable": true
},
"avatar": {
"type": "string",
"description": "头像",
"nullable": true
},
"accessToken": {
"type": "string",
"description": "访问令牌",
"nullable": true
},
"refreshToken": {
"type": "string",
"description": "刷新令牌",
"nullable": true
},
"expire": {
"type": "string",
"description": "过期时间",
"format": "date-time"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false,
"description": "用户链接。第三方绑定"
},
"NewLife.Cube.Entity.UserConnectModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"provider": {
"type": "string",
"description": "提供商",
"nullable": true
},
"userID": {
"type": "integer",
"description": "用户。本地用户",
"format": "int32"
},
"openID": {
"type": "string",
"description": "身份标识。用户名、OpenID",
"nullable": true
},
"unionID": {
"type": "string",
"description": "全局标识。跨应用统一",
"nullable": true
},
"linkID": {
"type": "integer",
"description": "用户编号。第三方用户编号",
"format": "int64"
},
"nickName": {
"type": "string",
"description": "昵称",
"nullable": true
},
"deviceId": {
"type": "string",
"description": "设备标识。企业微信用于唯一标识设备,重装后改变",
"nullable": true
},
"avatar": {
"type": "string",
"description": "头像",
"nullable": true
},
"accessToken": {
"type": "string",
"description": "访问令牌",
"nullable": true
},
"refreshToken": {
"type": "string",
"description": "刷新令牌",
"nullable": true
},
"expire": {
"type": "string",
"description": "过期时间",
"format": "date-time"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false,
"description": "用户链接。第三方绑定"
},
"NewLife.Cube.Entity.UserOnline": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"userID": {
"type": "integer",
"description": "用户。当前登录人",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称。当前登录人,或根据设备标识推算出来的使用人",
"nullable": true
},
"sessionID": {
"type": "string",
"description": "会话。Web的SessionID或Server的会话编号",
"nullable": true
},
"oAuthProvider": {
"type": "string",
"description": "登录方。OAuth提供商,从哪个渠道登录",
"nullable": true
},
"times": {
"type": "integer",
"description": "次数",
"format": "int32"
},
"page": {
"type": "string",
"description": "页面",
"nullable": true
},
"platform": {
"type": "string",
"description": "平台。操作系统平台,Windows/Linux/Android等",
"nullable": true
},
"os": {
"type": "string",
"description": "系统。操作系统,带版本",
"nullable": true
},
"device": {
"type": "string",
"description": "设备。手机品牌型号",
"nullable": true
},
"brower": {
"type": "string",
"description": "浏览器。浏览器名称,带版本",
"nullable": true
},
"netType": {
"type": "string",
"description": "网络。微信访问时,感知到WIFI或4G网络",
"nullable": true
},
"deviceId": {
"type": "string",
"description": "设备标识。唯一标识设备,位于浏览器Cookie,重装后改变",
"nullable": true
},
"status": {
"type": "string",
"description": "状态",
"nullable": true
},
"onlineTime": {
"type": "integer",
"description": "在线时间。本次在线总时间,秒",
"format": "int32"
},
"lastError": {
"type": "string",
"description": "最后错误",
"format": "date-time"
},
"address": {
"type": "string",
"description": "地址。根据IP计算",
"nullable": true
},
"traceId": {
"type": "string",
"description": "追踪。链路追踪,用于APM性能追踪定位,还原该事件的调用链",
"nullable": true
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "修改时间",
"format": "date-time"
}
},
"additionalProperties": false,
"description": "用户在线"
},
"NewLife.Cube.Entity.UserOnlineModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"userID": {
"type": "integer",
"description": "用户。当前登录人",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称。当前登录人,或根据设备标识推算出来的使用人",
"nullable": true
},
"sessionID": {
"type": "string",
"description": "会话。Web的SessionID或Server的会话编号",
"nullable": true
},
"oAuthProvider": {
"type": "string",
"description": "登录方。OAuth提供商,从哪个渠道登录",
"nullable": true
},
"times": {
"type": "integer",
"description": "次数",
"format": "int32"
},
"page": {
"type": "string",
"description": "页面",
"nullable": true
},
"platform": {
"type": "string",
"description": "平台。操作系统平台,Windows/Linux/Android等",
"nullable": true
},
"os": {
"type": "string",
"description": "系统。操作系统,带版本",
"nullable": true
},
"device": {
"type": "string",
"description": "设备。手机品牌型号",
"nullable": true
},
"brower": {
"type": "string",
"description": "浏览器。浏览器名称,带版本",
"nullable": true
},
"netType": {
"type": "string",
"description": "网络。微信访问时,感知到WIFI或4G网络",
"nullable": true
},
"deviceId": {
"type": "string",
"description": "设备标识。唯一标识设备,位于浏览器Cookie,重装后改变",
"nullable": true
},
"status": {
"type": "string",
"description": "状态",
"nullable": true
},
"onlineTime": {
"type": "integer",
"description": "在线时间。本次在线总时间,秒",
"format": "int32"
},
"lastError": {
"type": "string",
"description": "最后错误",
"format": "date-time"
},
"address": {
"type": "string",
"description": "地址。根据IP计算",
"nullable": true
},
"traceId": {
"type": "string",
"description": "追踪。链路追踪,用于APM性能追踪定位,还原该事件的调用链",
"nullable": true
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "修改时间",
"format": "date-time"
}
},
"additionalProperties": false,
"description": "用户在线"
},
"NewLife.Cube.Entity.UserStat": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"date": {
"type": "string",
"description": "统计日期",
"format": "date-time"
},
"total": {
"type": "integer",
"description": "总数。总用户数",
"format": "int32"
},
"logins": {
"type": "integer",
"description": "登录数。总登录数",
"format": "int32"
},
"oAuths": {
"type": "integer",
"description": "OAuth登录。OAuth总登录数",
"format": "int32"
},
"maxOnline": {
"type": "integer",
"description": "最大在线。最大在线用户数",
"format": "int32"
},
"actives": {
"type": "integer",
"description": "活跃。今天活跃用户数",
"format": "int32"
},
"activesT7": {
"type": "integer",
"description": "7天活跃。7天活跃用户数",
"format": "int32"
},
"activesT30": {
"type": "integer",
"description": "30天活跃。30天活跃用户数",
"format": "int32"
},
"news": {
"type": "integer",
"description": "新用户。今天注册新用户数",
"format": "int32"
},
"newsT7": {
"type": "integer",
"description": "7天注册。7天内注册新用户数",
"format": "int32"
},
"newsT30": {
"type": "integer",
"description": "30天注册。30天注册新用户数",
"format": "int32"
},
"onlineTime": {
"type": "integer",
"description": "在线时间。累计在线总时间,秒",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "详细信息",
"nullable": true
}
},
"additionalProperties": false,
"description": "用户统计"
},
"NewLife.Cube.Entity.UserToken": {
"type": "object",
"properties": {
"user": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"userName": {
"type": "string",
"description": "用户",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"token": {
"type": "string",
"description": "令牌",
"nullable": true
},
"url": {
"type": "string",
"description": "地址。锁定该令牌只能访问该资源路径",
"nullable": true
},
"userID": {
"type": "integer",
"description": "用户。本地用户",
"format": "int32"
},
"expire": {
"type": "string",
"description": "过期时间",
"format": "date-time"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"times": {
"type": "integer",
"description": "次数。该令牌使用次数",
"format": "int32"
},
"firstIP": {
"type": "string",
"description": "首次地址",
"nullable": true
},
"firstTime": {
"type": "string",
"description": "首次时间",
"format": "date-time"
},
"lastIP": {
"type": "string",
"description": "最后地址",
"nullable": true
},
"lastTime": {
"type": "string",
"description": "最后时间",
"format": "date-time"
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false,
"description": "用户令牌。授权其他人直接拥有指定用户的身份,支持有效期,支持数据接口"
},
"NewLife.Cube.Entity.UserTokenModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"token": {
"type": "string",
"description": "令牌",
"nullable": true
},
"url": {
"type": "string",
"description": "地址。锁定该令牌只能访问该资源路径",
"nullable": true
},
"userID": {
"type": "integer",
"description": "用户。本地用户",
"format": "int32"
},
"expire": {
"type": "string",
"description": "过期时间",
"format": "date-time"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"times": {
"type": "integer",
"description": "次数。该令牌使用次数",
"format": "int32"
},
"firstIP": {
"type": "string",
"description": "首次地址",
"nullable": true
},
"firstTime": {
"type": "string",
"description": "首次时间",
"format": "date-time"
},
"lastIP": {
"type": "string",
"description": "最后地址",
"nullable": true
},
"lastTime": {
"type": "string",
"description": "最后时间",
"format": "date-time"
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false,
"description": "用户令牌。授权指定用户访问接口数据,支持有效期"
},
"NewLife.Cube.ViewModels.DataField": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"displayName": {
"type": "string",
"description": "显示名",
"nullable": true
},
"description": {
"type": "string",
"description": "描述",
"nullable": true
},
"category": {
"type": "string",
"description": "类别",
"nullable": true
},
"typeName": {
"type": "string",
"description": "属性类型",
"nullable": true,
"readOnly": true
},
"itemType": {
"type": "string",
"description": "元素类型。image,file-zip,html,singleSelect,multipleSelect",
"nullable": true
},
"length": {
"type": "integer",
"description": "长度",
"format": "int32"
},
"precision": {
"type": "integer",
"description": "精度",
"format": "int32"
},
"scale": {
"type": "integer",
"description": "位数",
"format": "int32"
},
"nullable": {
"type": "boolean",
"description": "允许空"
},
"primaryKey": {
"type": "boolean",
"description": "主键"
},
"readOnly": {
"type": "boolean",
"description": "只读"
},
"visible": {
"type": "boolean",
"description": "是否可见"
},
"required": {
"type": "boolean",
"description": "是否必填"
},
"authority": {
"type": "string",
"description": "权限相关。用户自由发挥",
"nullable": true
},
"extended1": {
"type": "string",
"description": "扩展字段。用户自由发挥",
"nullable": true
},
"extended2": {
"type": "string",
"description": "扩展字段。用户自由发挥",
"nullable": true
},
"extended3": {
"type": "string",
"description": "扩展字段。用户自由发挥",
"nullable": true
},
"mapField": {
"type": "string",
"description": "映射字段",
"nullable": true
},
"lovCode": {
"type": "string",
"description": "LOV 配置代码",
"nullable": true
},
"services": {
"type": "array",
"items": {},
"description": "扩展服务",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false,
"description": "数据字段"
},
"NewLife.Cube.ViewModels.ViewKinds": {
"enum": [
1,
2,
3,
4,
5
],
"type": "integer",
"description": "视图类型。如List/Detail/AddForm/EditForm/Search等",
"format": "int32"
},
"NewLife.Log.LogLevel": {
"enum": [
0,
1,
2,
3,
4,
5,
255
],
"type": "integer",
"format": "int32"
},
"NewLife.Setting": {
"type": "object",
"properties": {
"isNew": {
"type": "boolean",
"readOnly": true
},
"debug": {
"type": "boolean",
"description": "全局调试。XTrace.Debug"
},
"logLevel": {
"$ref": "#/components/schemas/NewLife.Log.LogLevel"
},
"logPath": {
"type": "string",
"description": "文件日志目录。默认Log子目录",
"nullable": true
},
"logFileMaxBytes": {
"type": "integer",
"description": "日志文件上限。超过上限后拆分新日志文件,默认10MB,0表示不限制大小",
"format": "int32"
},
"logFileBackups": {
"type": "integer",
"description": "日志文件备份。超过备份数后,最旧的文件将被删除,网络安全法要求至少保存6个月日志,默认200,0表示不限制个数",
"format": "int32"
},
"logFileFormat": {
"type": "string",
"description": "日志文件格式。默认{0:yyyy_MM_dd}.log,支持日志等级如 {1}_{0:yyyy_MM_dd}.log",
"nullable": true
},
"logLineFormat": {
"type": "string",
"description": "日志行格式。默认Time|ThreadId|Kind|Name|Message,还支持Level",
"nullable": true
},
"networkLog": {
"type": "string",
"description": "网络日志。本地子网日志广播udp://255.255.255.255:514,或者http://xxx:80/log",
"nullable": true
},
"utcIntervalHours": {
"type": "integer",
"description": "日志记录时间UTC校正,小时",
"format": "int32"
},
"dataPath": {
"type": "string",
"description": "数据目录。本地数据库目录,默认Data子目录",
"nullable": true
},
"backupPath": {
"type": "string",
"description": "备份目录。备份数据库时存放的目录,默认Backup子目录",
"nullable": true
},
"pluginPath": {
"type": "string",
"description": "插件目录",
"nullable": true
},
"pluginServer": {
"type": "string",
"description": "插件服务器。将从该网页上根据关键字分析链接并下载插件,部分嵌入式设备不支持https",
"nullable": true
},
"assemblyResolve": {
"type": "boolean",
"description": "辅助解析程序集。程序集加载过程中,被依赖程序集未能解析时,是否协助解析,默认false"
},
"serviceAddress": {
"type": "string",
"description": "服务地址。用户访问的外网地址,反向代理之外,用于内部构造其它Url(如SSO),或者向注册中心登记,多地址逗号隔开",
"nullable": true
}
},
"additionalProperties": false
},
"NewLife.Web.PageModel": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"description": "获取 或 设置 页面索引。从1开始,默认1",
"format": "int32"
},
"pageSize": {
"type": "integer",
"description": "获取 或 设置 页面大小。默认20,若为0表示不分页",
"format": "int32"
},
"totalCount": {
"type": "integer",
"description": "获取 或 设置 总记录数",
"format": "int64"
},
"longTotalCount": {
"type": "string",
"description": "获取 或 设置 总记录数,字符串类型",
"nullable": true
}
},
"additionalProperties": false,
"description": "分页模型"
},
"XCode.DataAccessLayer.Migration": {
"enum": [
0,
1,
2,
3
],
"type": "integer",
"format": "int32"
},
"XCode.DataAccessLayer.NameFormats": {
"enum": [
0,
1,
2,
3,
4
],
"type": "integer",
"format": "int32"
},
"XCode.Membership.Area": {
"type": "object",
"properties": {
"parent": {
"$ref": "#/components/schemas/XCode.Membership.Area"
},
"parentPath": {
"type": "string",
"nullable": true,
"readOnly": true
},
"path": {
"type": "string",
"nullable": true,
"readOnly": true
},
"childs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Area"
},
"nullable": true,
"readOnly": true
},
"isVirtual": {
"type": "boolean",
"readOnly": true
},
"id": {
"type": "integer",
"description": "编码。行政区划编码",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"fullName": {
"type": "string",
"description": "全名",
"nullable": true
},
"parentID": {
"type": "integer",
"description": "父级",
"format": "int32"
},
"level": {
"type": "integer",
"description": "层级",
"format": "int32"
},
"kind": {
"type": "string",
"description": "类型。省市县,自治州等",
"nullable": true
},
"english": {
"type": "string",
"description": "英文名",
"nullable": true
},
"pinYin": {
"type": "string",
"description": "拼音",
"nullable": true
},
"jianPin": {
"type": "string",
"description": "简拼",
"nullable": true
},
"telCode": {
"type": "string",
"description": "区号。电话区号",
"nullable": true
},
"zipCode": {
"type": "string",
"description": "邮编。邮政编码",
"nullable": true
},
"longitude": {
"type": "number",
"description": "经度",
"format": "double"
},
"latitude": {
"type": "number",
"description": "纬度",
"format": "double"
},
"geoHash": {
"type": "string",
"description": "地址编码。字符串前缀相同越多,地理距离越近,8位精度19米,6位610米",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.Department": {
"type": "object",
"properties": {
"parent": {
"$ref": "#/components/schemas/XCode.Membership.Department"
},
"parentName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"parentPath": {
"type": "string",
"nullable": true,
"readOnly": true
},
"path": {
"type": "string",
"nullable": true,
"readOnly": true
},
"childList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Department"
},
"nullable": true,
"readOnly": true
},
"subset": {
"type": "boolean"
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"tenantId": {
"type": "integer",
"description": "租户",
"format": "int32"
},
"code": {
"type": "string",
"description": "代码",
"nullable": true
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"fullName": {
"type": "string",
"description": "全名",
"nullable": true
},
"parentID": {
"type": "integer",
"description": "父级",
"format": "int32"
},
"level": {
"type": "integer",
"description": "层级。树状结构的层级",
"format": "int32"
},
"sort": {
"type": "integer",
"description": "排序。同级内排序",
"format": "int32"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"visible": {
"type": "boolean",
"description": "可见"
},
"managerId": {
"type": "integer",
"description": "管理者",
"format": "int32"
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "integer",
"description": "扩展2",
"format": "int32"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"createUser": {
"type": "string",
"description": "创建者",
"nullable": true
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUser": {
"type": "string",
"description": "更新者",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
},
"tenant": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
},
"tenantName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"manager": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"managerName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.DepartmentModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"tenantId": {
"type": "integer",
"format": "int32"
},
"code": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"fullName": {
"type": "string",
"nullable": true
},
"parentID": {
"type": "integer",
"format": "int32"
},
"level": {
"type": "integer",
"format": "int32"
},
"sort": {
"type": "integer",
"format": "int32"
},
"enable": {
"type": "boolean"
},
"visible": {
"type": "boolean"
},
"managerId": {
"type": "integer",
"format": "int32"
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "integer",
"format": "int32"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"createUser": {
"type": "string",
"nullable": true
},
"createUserID": {
"type": "integer",
"format": "int32"
},
"createIP": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "string",
"format": "date-time"
},
"updateUser": {
"type": "string",
"nullable": true
},
"updateUserID": {
"type": "integer",
"format": "int32"
},
"updateIP": {
"type": "string",
"nullable": true
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.IRole": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"enable": {
"type": "boolean"
},
"isSystem": {
"type": "boolean"
},
"tenantId": {
"type": "integer",
"format": "int32"
},
"permission": {
"type": "string",
"nullable": true
},
"sort": {
"type": "integer",
"format": "int32"
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "integer",
"format": "int32"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"createUser": {
"type": "string",
"nullable": true
},
"createUserID": {
"type": "integer",
"format": "int32"
},
"createIP": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "string",
"format": "date-time"
},
"updateUser": {
"type": "string",
"nullable": true
},
"updateUserID": {
"type": "integer",
"format": "int32"
},
"updateIP": {
"type": "string",
"nullable": true
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
},
"permissions": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/XCode.Membership.PermissionFlags"
},
"nullable": true,
"readOnly": true
},
"resources": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.Log": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int64"
},
"category": {
"type": "string",
"description": "类别",
"nullable": true
},
"action": {
"type": "string",
"description": "操作",
"nullable": true
},
"linkID": {
"type": "integer",
"description": "链接",
"format": "int64"
},
"success": {
"type": "boolean",
"description": "成功"
},
"userName": {
"type": "string",
"description": "用户名",
"nullable": true
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "integer",
"description": "扩展2",
"format": "int32"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"traceId": {
"type": "string",
"description": "性能追踪。用于APM性能追踪定位,还原该事件的调用链",
"nullable": true
},
"createUser": {
"type": "string",
"description": "创建者",
"nullable": true
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "详细信息",
"nullable": true
},
"myCreateUser": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"createUserName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.Menu": {
"type": "object",
"properties": {
"childs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"nullable": true,
"readOnly": true
},
"parent": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"allChilds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"nullable": true,
"readOnly": true
},
"myAllChilds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"nullable": true,
"readOnly": true
},
"allParents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.Menu"
},
"nullable": true,
"readOnly": true
},
"deepth": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"nodeName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"parentNodeName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"treeNodeName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"treeNodeName2": {
"type": "string",
"nullable": true,
"readOnly": true
},
"treeNodeText": {
"type": "string",
"nullable": true,
"readOnly": true
},
"fullPath": {
"type": "string",
"nullable": true,
"readOnly": true
},
"fullParentPath": {
"type": "string",
"nullable": true,
"readOnly": true
},
"url2": {
"type": "string",
"nullable": true,
"readOnly": true
},
"parentMenuName": {
"type": "string",
"nullable": true
},
"friendName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"permissions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"nullable": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"displayName": {
"type": "string",
"description": "显示名",
"nullable": true
},
"fullName": {
"type": "string",
"description": "全名",
"nullable": true
},
"parentID": {
"type": "integer",
"description": "父编号",
"format": "int32"
},
"url": {
"type": "string",
"description": "链接",
"nullable": true
},
"sort": {
"type": "integer",
"description": "排序",
"format": "int32"
},
"icon": {
"type": "string",
"description": "图标",
"nullable": true
},
"visible": {
"type": "boolean",
"description": "可见"
},
"necessary": {
"type": "boolean",
"description": "必要。必要的菜单,必须至少有角色拥有这些权限,如果没有则自动授权给系统角色"
},
"newWindow": {
"type": "boolean",
"description": "新窗口。新窗口打开链接"
},
"permission": {
"type": "string",
"description": "权限子项。逗号分隔,每个权限子项名值竖线分隔",
"nullable": true
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "integer",
"description": "扩展2",
"format": "int32"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"createUser": {
"type": "string",
"description": "创建者",
"nullable": true
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUser": {
"type": "string",
"description": "更新者",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.MenuModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"fullName": {
"type": "string",
"nullable": true
},
"parentID": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string",
"nullable": true
},
"sort": {
"type": "integer",
"format": "int32"
},
"icon": {
"type": "string",
"nullable": true
},
"visible": {
"type": "boolean"
},
"necessary": {
"type": "boolean"
},
"newWindow": {
"type": "boolean"
},
"permission": {
"type": "string",
"nullable": true
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "integer",
"format": "int32"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"createUser": {
"type": "string",
"nullable": true
},
"createUserID": {
"type": "integer",
"format": "int32"
},
"createIP": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "string",
"format": "date-time"
},
"updateUser": {
"type": "string",
"nullable": true
},
"updateUserID": {
"type": "integer",
"format": "int32"
},
"updateIP": {
"type": "string",
"nullable": true
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.Parameter": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"userID": {
"type": "integer",
"description": "用户。按用户区分参数,用户0表示系统级",
"format": "int32"
},
"category": {
"type": "string",
"description": "类别",
"nullable": true
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"value": {
"type": "string",
"description": "数值",
"nullable": true
},
"longValue": {
"type": "string",
"description": "长数值",
"nullable": true
},
"kind": {
"$ref": "#/components/schemas/XCode.Membership.ParameterKinds"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "number",
"description": "扩展2",
"format": "double"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"createUser": {
"type": "string",
"description": "创建者",
"nullable": true
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUser": {
"type": "string",
"description": "更新者",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
},
"user": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"userName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.ParameterKinds": {
"enum": [
0,
3,
9,
14,
16,
18,
21,
22
],
"type": "integer",
"format": "int32"
},
"XCode.Membership.ParameterModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"userID": {
"type": "integer",
"format": "int32"
},
"category": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
},
"longValue": {
"type": "string",
"nullable": true
},
"kind": {
"$ref": "#/components/schemas/XCode.Membership.ParameterKinds"
},
"enable": {
"type": "boolean"
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "number",
"format": "double"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"createUser": {
"type": "string",
"nullable": true
},
"createUserID": {
"type": "integer",
"format": "int32"
},
"createIP": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "string",
"format": "date-time"
},
"updateUser": {
"type": "string",
"nullable": true
},
"updateUserID": {
"type": "integer",
"format": "int32"
},
"updateIP": {
"type": "string",
"nullable": true
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.PermissionFlags": {
"enum": [
0,
1,
2,
4,
8,
4294967295
],
"type": "integer",
"format": "int32"
},
"XCode.Membership.Role": {
"type": "object",
"properties": {
"permissions": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/XCode.Membership.PermissionFlags"
},
"nullable": true,
"readOnly": true
},
"resources": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"isSystem": {
"type": "boolean",
"description": "系统。用于业务系统开发使用,不受数据权限约束,禁止修改名称或删除"
},
"tenantId": {
"type": "integer",
"description": "租户。角色所属组合,0表示全局角色",
"format": "int32"
},
"permission": {
"type": "string",
"description": "权限。对不同资源的权限,逗号分隔,每个资源的权限子项竖线分隔",
"nullable": true
},
"sort": {
"type": "integer",
"description": "排序",
"format": "int32"
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "integer",
"description": "扩展2",
"format": "int32"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"createUser": {
"type": "string",
"description": "创建者",
"nullable": true
},
"createUserID": {
"type": "integer",
"description": "创建用户",
"format": "int32"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"updateUser": {
"type": "string",
"description": "更新者",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
},
"tenant": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
},
"tenantName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.RoleModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"enable": {
"type": "boolean"
},
"isSystem": {
"type": "boolean"
},
"tenantId": {
"type": "integer",
"format": "int32"
},
"permission": {
"type": "string",
"nullable": true
},
"sort": {
"type": "integer",
"format": "int32"
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "integer",
"format": "int32"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"createUser": {
"type": "string",
"nullable": true
},
"createUserID": {
"type": "integer",
"format": "int32"
},
"createIP": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "string",
"format": "date-time"
},
"updateUser": {
"type": "string",
"nullable": true
},
"updateUserID": {
"type": "integer",
"format": "int32"
},
"updateIP": {
"type": "string",
"nullable": true
},
"updateTime": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.SexKinds": {
"enum": [
0,
1,
2
],
"type": "integer",
"format": "int32"
},
"XCode.Membership.Tenant": {
"type": "object",
"properties": {
"roleNames": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"code": {
"type": "string",
"description": "编码。唯一编码",
"nullable": true
},
"name": {
"type": "string",
"description": "名称。显示名称",
"nullable": true
},
"enable": {
"type": "boolean",
"description": "启用"
},
"managerId": {
"type": "integer",
"description": "管理者",
"format": "int32"
},
"roleIds": {
"type": "string",
"description": "角色组。租户可选的角色集合,不同级别的租户所拥有的角色不一样,高级功能也会不同",
"nullable": true
},
"logo": {
"type": "string",
"description": "图标。附件路径",
"nullable": true
},
"databaseName": {
"type": "string",
"description": "数据库。分库用的数据库名",
"nullable": true
},
"tableName": {
"type": "string",
"description": "数据表。分表用的数据表前缀",
"nullable": true
},
"expired": {
"type": "string",
"description": "过期时间。达到该时间后,自动禁用租户,空表示永不过期",
"format": "date-time"
},
"createUserId": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserId": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "描述",
"nullable": true
},
"manager": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"managerName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.TenantModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"code": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"enable": {
"type": "boolean"
},
"managerId": {
"type": "integer",
"format": "int32"
},
"roleIds": {
"type": "string",
"nullable": true
},
"logo": {
"type": "string",
"nullable": true
},
"databaseName": {
"type": "string",
"nullable": true
},
"tableName": {
"type": "string",
"nullable": true
},
"expired": {
"type": "string",
"format": "date-time"
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.TenantUser": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.IRole"
},
"nullable": true,
"readOnly": true
},
"roleNames": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"tenantId": {
"type": "integer",
"description": "租户",
"format": "int32"
},
"userId": {
"type": "integer",
"description": "用户",
"format": "int32"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"roleId": {
"type": "integer",
"description": "角色。用户在该租户所对应的主要角色,替换用户自身的角色组",
"format": "int32"
},
"roleIds": {
"type": "string",
"description": "角色组。次要角色集合",
"nullable": true
},
"createUserId": {
"type": "integer",
"description": "创建者",
"format": "int32"
},
"createTime": {
"type": "string",
"description": "创建时间",
"format": "date-time"
},
"createIP": {
"type": "string",
"description": "创建地址",
"nullable": true
},
"updateUserId": {
"type": "integer",
"description": "更新者",
"format": "int32"
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"remark": {
"type": "string",
"description": "描述",
"nullable": true
},
"tenant": {
"$ref": "#/components/schemas/XCode.Membership.Tenant"
},
"tenantName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"user": {
"$ref": "#/components/schemas/XCode.Membership.User"
},
"userName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"role": {
"$ref": "#/components/schemas/XCode.Membership.Role"
},
"roleName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.TenantUserModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"tenantId": {
"type": "integer",
"format": "int32"
},
"userId": {
"type": "integer",
"format": "int32"
},
"enable": {
"type": "boolean"
},
"roleId": {
"type": "integer",
"format": "int32"
},
"roleIds": {
"type": "string",
"nullable": true
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.Membership.User": {
"type": "object",
"properties": {
"lastLoginAddress": {
"type": "string",
"nullable": true,
"readOnly": true
},
"areaName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XCode.Membership.IRole"
},
"nullable": true,
"readOnly": true
},
"roleNames": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"description": "编号",
"format": "int32"
},
"name": {
"type": "string",
"description": "名称。登录用户名",
"nullable": true
},
"password": {
"type": "string",
"description": "密码",
"nullable": true
},
"displayName": {
"type": "string",
"description": "昵称",
"nullable": true
},
"sex": {
"$ref": "#/components/schemas/XCode.Membership.SexKinds"
},
"mail": {
"type": "string",
"description": "邮件。支持登录",
"nullable": true
},
"mailVerified": {
"type": "boolean",
"description": "邮箱验证。邮箱是否已通过验证"
},
"mobile": {
"type": "string",
"description": "手机。支持登录",
"nullable": true
},
"mobileVerified": {
"type": "boolean",
"description": "手机验证。手机是否已通过验证"
},
"code": {
"type": "string",
"description": "代码。身份证、员工编码等,支持登录",
"nullable": true
},
"areaId": {
"type": "integer",
"description": "地区。省市区",
"format": "int32"
},
"avatar": {
"type": "string",
"description": "头像",
"nullable": true
},
"roleID": {
"type": "integer",
"description": "角色。主要角色",
"format": "int32"
},
"roleIds": {
"type": "string",
"description": "角色组。次要角色集合",
"nullable": true
},
"departmentID": {
"type": "integer",
"description": "部门。组织机构",
"format": "int32"
},
"online": {
"type": "boolean",
"description": "在线"
},
"enable": {
"type": "boolean",
"description": "启用"
},
"age": {
"type": "integer",
"description": "年龄。周岁",
"format": "int32"
},
"birthday": {
"type": "string",
"description": "生日。公历年月日",
"format": "date-time"
},
"logins": {
"type": "integer",
"description": "登录次数",
"format": "int32"
},
"lastLogin": {
"type": "string",
"description": "最后登录",
"format": "date-time"
},
"lastLoginIP": {
"type": "string",
"description": "最后登录IP",
"nullable": true
},
"registerTime": {
"type": "string",
"description": "注册时间",
"format": "date-time"
},
"registerIP": {
"type": "string",
"description": "注册IP",
"nullable": true
},
"onlineTime": {
"type": "integer",
"description": "在线时间。累计在线总时间,单位秒",
"format": "int32"
},
"ex1": {
"type": "integer",
"description": "扩展1",
"format": "int32"
},
"ex2": {
"type": "integer",
"description": "扩展2",
"format": "int32"
},
"ex3": {
"type": "number",
"description": "扩展3",
"format": "double"
},
"ex4": {
"type": "string",
"description": "扩展4",
"nullable": true
},
"ex5": {
"type": "string",
"description": "扩展5",
"nullable": true
},
"ex6": {
"type": "string",
"description": "扩展6",
"nullable": true
},
"updateUser": {
"type": "string",
"description": "更新者",
"nullable": true
},
"updateUserID": {
"type": "integer",
"description": "更新用户",
"format": "int32"
},
"updateIP": {
"type": "string",
"description": "更新地址",
"nullable": true
},
"updateTime": {
"type": "string",
"description": "更新时间",
"format": "date-time"
},
"remark": {
"type": "string",
"description": "备注",
"nullable": true
},
"area": {
"$ref": "#/components/schemas/XCode.Membership.Area"
},
"areaPath": {
"type": "string",
"nullable": true,
"readOnly": true
},
"role": {
"$ref": "#/components/schemas/XCode.Membership.Role"
},
"roleName": {
"type": "string",
"nullable": true,
"readOnly": true
},
"department": {
"$ref": "#/components/schemas/XCode.Membership.Department"
},
"departmentName": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"XCode.Membership.UserModel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"sex": {
"$ref": "#/components/schemas/XCode.Membership.SexKinds"
},
"mail": {
"type": "string",
"nullable": true
},
"mailVerified": {
"type": "boolean"
},
"mobile": {
"type": "string",
"nullable": true
},
"mobileVerified": {
"type": "boolean"
},
"code": {
"type": "string",
"nullable": true
},
"areaId": {
"type": "integer",
"format": "int32"
},
"avatar": {
"type": "string",
"nullable": true
},
"roleID": {
"type": "integer",
"format": "int32"
},
"roleIds": {
"type": "string",
"nullable": true
},
"departmentID": {
"type": "integer",
"format": "int32"
},
"online": {
"type": "boolean"
},
"enable": {
"type": "boolean"
},
"age": {
"type": "integer",
"format": "int32"
},
"birthday": {
"type": "string",
"format": "date-time"
},
"logins": {
"type": "integer",
"format": "int32"
},
"lastLogin": {
"type": "string",
"format": "date-time"
},
"lastLoginIP": {
"type": "string",
"nullable": true
},
"registerTime": {
"type": "string",
"format": "date-time"
},
"registerIP": {
"type": "string",
"nullable": true
},
"onlineTime": {
"type": "integer",
"format": "int32"
},
"ex1": {
"type": "integer",
"format": "int32"
},
"ex2": {
"type": "integer",
"format": "int32"
},
"ex3": {
"type": "number",
"format": "double"
},
"ex4": {
"type": "string",
"nullable": true
},
"ex5": {
"type": "string",
"nullable": true
},
"ex6": {
"type": "string",
"nullable": true
},
"remark": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"XCode.XCodeSetting": {
"type": "object",
"properties": {
"isNew": {
"type": "boolean",
"readOnly": true
},
"debug": {
"type": "boolean",
"description": "调试"
},
"showSQL": {
"type": "boolean",
"description": "输出SQL。是否输出SQL语句,默认启用"
},
"sqlPath": {
"type": "string",
"description": "SQL目录。设置SQL输出的单独目录,默认为空,SQL输出到当前日志中。生产环境建议输出到站点外单独的SqlLog目录",
"nullable": true
},
"traceSQLTime": {
"type": "integer",
"description": "SQL执行时间。跟踪SQL执行时间,大于该阀值将输出日志,默认1000毫秒",
"format": "int32"
},
"sqlMaxLength": {
"type": "integer",
"description": "SQL最大长度。输出日志时的SQL最大长度,超长截断,默认4096,不截断用0",
"format": "int32"
},
"useParameter": {
"type": "boolean",
"description": "参数化添删改查。默认关闭"
},
"batchSize": {
"type": "integer",
"description": "批大小。用于批量操作数据,抽取、删除、备份、恢复,默认5000",
"format": "int32"
},
"batchInterval": {
"type": "integer",
"description": "批操作间隙。用于批量删除数据时的暂停间隙,单位毫秒,默认100",
"format": "int32"
},
"commandTimeout": {
"type": "integer",
"description": "命令超时。查询执行超时时间,默认0秒不限制",
"format": "int32"
},
"retryOnFailure": {
"type": "integer",
"description": "失败重试。执行命令超时后的重试次数,默认0不重试",
"format": "int32"
},
"migration": {
"$ref": "#/components/schemas/XCode.DataAccessLayer.Migration"
},
"checkComment": {
"type": "boolean",
"description": "检查注释。表注释或字段注释,反向工程,默认打开"
},
"checkDeleteIndex": {
"type": "boolean",
"description": "检查删除索引。反向工程,默认打开"
},
"checkAddIndex": {
"type": "boolean",
"description": "检查添加索引。反向工程,默认打开"
},
"checkDuplicateIndex": {
"type": "boolean",
"description": "检查索引重复。默认打开"
},
"nameFormat": {
"$ref": "#/components/schemas/XCode.DataAccessLayer.NameFormats"
},
"fullCountFloor": {
"type": "integer",
"description": "全表查行数下限。在获取数据表行数时,先根据索引表进行快速统计。如果快速统计的结果大于该值,则使用快速统计的结果。反之则进行 count(*) 操作获取精确统计。调小该值可避免大表页面首次访问太慢,调大该值可获得精确行数。默认1000万",
"format": "int32"
},
"modelPath": {
"type": "string",
"description": "模型目录。从该目录加载连接名指定的模型文件,替代实体类模型,按需配置修改实体类所映射的表名字段名",
"nullable": true
},
"dataCacheExpire": {
"type": "integer",
"description": "数据层缓存。根据sql做缓存,默认0秒",
"format": "int32"
},
"entityCacheExpire": {
"type": "integer",
"description": "实体缓存过期。整表缓存实体列表,默认10秒",
"format": "int32"
},
"singleCacheExpire": {
"type": "integer",
"description": "单对象缓存过期。按主键缓存实体,默认10秒",
"format": "int32"
},
"extendExpire": {
"type": "integer",
"description": "扩展属性过期。扩展属性Extends缓存,默认10秒",
"format": "int32"
},
"fieldCacheExpire": {
"type": "integer",
"description": "字段缓存过期。缓存表中分类型字段的分组数据,默认3600秒",
"format": "int32"
},
"cacheStatPeriod": {
"type": "integer",
"description": "缓存统计周期。在日志中定期输出各个缓存的统计数据,用于分析性能问题,单位秒,0表示不输出,默认3600秒",
"format": "int32"
}
},
"additionalProperties": false
}
},
"securitySchemes": {
"OAuth2": {
"type": "oauth2",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://sso.newlifex.com/sso/authorize",
"tokenUrl": "https://sso.newlifex.com/sso/access_token",
"scopes": {}
}
}
}
}
},
"security": [
{
"OAuth2": []
}
],
"tags": [
{
"name": "AccessRule",
"description": "访问规则"
},
{
"name": "Core",
"description": "设置控制器"
},
{
"name": "Cube",
"description": "系统设置控制器"
},
{
"name": "Db",
"description": "数据库管理"
},
{
"name": "Department",
"description": "部门"
},
{
"name": "File",
"description": "文件管理"
},
{
"name": "Index",
"description": "首页"
},
{
"name": "Log",
"description": "审计日志控制器"
},
{
"name": "Menu",
"description": "菜单控制器"
},
{
"name": "OAuthConfig",
"description": "OAuth配置"
},
{
"name": "OAuthLog",
"description": "OAuth日志"
},
{
"name": "Parameter",
"description": "字典参数"
},
{
"name": "Role",
"description": "角色控制器"
},
{
"name": "Sys",
"description": "系统设置控制器"
},
{
"name": "Tenant",
"description": "租户管理"
},
{
"name": "TenantUser",
"description": "租户关系"
},
{
"name": "UserConnect",
"description": "用户链接控制器"
},
{
"name": "User",
"description": "用户控制器"
},
{
"name": "UserOnline",
"description": "用户在线控制器"
},
{
"name": "UserStat",
"description": "访问统计控制器"
},
{
"name": "UserToken",
"description": "用户令牌控制器"
},
{
"name": "XCode",
"description": "设置控制器"
}
]
}
|