123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- {
- //应用程序类型Controllers ControllersWithViews MVC
- "appType": "Controllers",
- //Api地址
- "urls": [ "http://*:7000" ],
- //跨域地址
- "corUrls": [],
- //程序集名称
- "assemblyNames": [ "ZhonTai.Admin" ],
- //租户
- "tenant": true,
- //分布式事务唯一标识admin,为空则不生成分布式事务表
- "distributeKey": "",
- //验证
- "validate": {
- //登录
- "login": true,
- //接口权限
- "permission": true,
- //数据权限
- "dataPermission": true
- },
- //Swagger文档
- "swagger": {
- //启用
- "enable": true,
- //启用枚举架构过滤器
- "enableEnumSchemaFilter": true,
- //启用接口排序文档过滤器
- "enableOrderTagsDocumentFilter": true,
- //启用枚举属性名
- "enableJsonStringEnumConverter": false,
- //启用SchemaId命名空间
- "enableSchemaIdNamespace": false,
- //程序集列表,用于启用SchemaId命名空间
- "assemblyNameList": [],
- //路由前缀,如配置微服务文档地址:doc/module/swagger
- "routePrefix": "admin/swagger",
- //地址
- "url": "http://localhost:7000",
- "projects": [
- {
- "name": "中台Admin",
- "code": "admin",
- "version": "v3.6.5",
- "description": ""
- }
- ]
- },
- //ZhonTai接口文档
- "apiUI": {
- //启用
- "enable": true,
- //路由前缀,如配置微服务文档地址:doc/module
- "routePrefix": "admin",
- //页脚
- "footer": {
- "enable": false,
- "content": "Copyright<a-icon type=\"copyright\" /> 2022-<a target=\"_blank\" href=\"https://www.zhontai.net\">中台Admin</a>"
- }
- },
- //MiniProfiler性能分析器
- "miniProfiler": false,
- //统一认证授权服务器
- "identityServer": {
- //启用
- "enable": false,
- //认证地址
- "url": "https://localhost:5000",
- //启用Https
- "requireHttpsMetadata": true,
- //受众
- "audience": "admin.server.api"
- },
- //面向切面编程
- "aop": {
- //事务
- "transaction": true
- },
- //数据库日志
- "log": {
- //操作日志
- "operation": true
- },
- //限流
- "rateLimit": false,
- //验证码
- "varifyCode": {
- //启用
- "enable": true,
- //字体列表
- "fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
- },
- //默认密码
- "defaultPassword": "111111",
- //动态api
- "dynamicApi": {
- //结果格式化
- "formatResult": true
- },
- //实现标准标识密码哈希,启用后相同密码加密后各不相同
- "passwordHasher": false,
- //最大请求大小
- "maxRequestBodySize": 104857600,
- //健康检查
- "healthChecks": {
- //启用
- "enable": true,
- //访问路径
- "path": "/admin/health"
- }
- }
|