{
//应用程序类型Controllers ControllersWithViews MVC
"appType": "Controllers",
//Api地址
"urls": [ "http://*:8000" ],
//跨域地址
"corUrls": [ "http://localhost:9000", "http://127.0.0.1:9000" ],
//程序集名称
"assemblyNames": [ "ZhonTai.Admin" ],
//租户
"tenant": true,
//Swagger文档
"swagger": {
//启用
"enable": true,
//地址
"url": "http://localhost:8000",
"projects": [
{
"name": "中台Admin",
"code": "admin",
"version": "v2.2.0",
"description": ""
}
]
},
//新版Api文档
"apiUI": {
//启用
"enable": true,
//页脚
"footer": {
"enable": true,
"content": "Copyright 2022-中台Admin"
}
},
//MiniProfiler性能分析器
"miniProfiler": false,
//统一认证授权服务器
"identityServer": {
//启用
"enable": false,
//地址,开发认证地址前往appconfig.Development.json修改
"url": "https://login.zhontai.net"
},
//面向切面编程
"aop": {
//事物
"transaction": true
},
//日志
"log": {
//操作日志
"operation": true
},
//限流
"rateLimit": false,
//验证码
"varifyCode": {
//启用
"enable": true,
//字体列表
"fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
},
//默认密码
"defaultPassword": "111111"
}