12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- {
- //应用程序类型Controllers ControllersWithViews MVC
- "appType": "Controllers",
- //Api地址
- "urls": [ "http://*:8000" ],
- //跨域地址
- "corUrls": [ ],
- //程序集名称
- "assemblyNames": [ "ZhonTai.Admin" ],
- //租户
- "tenant": true,
- //分布式事务唯一标识admin,为空则不生成分布式事务表
- "distributeKey": "",
- //验证
- "validate": {
- //登录
- "login": true,
- //权限
- "permission": true
- },
- //Swagger文档
- "swagger": {
- //启用
- "enable": true,
- //路由前缀,如配置微服务文档地址:doc/module/swagger
- "routePrefix": "swagger",
- //地址
- "url": "http://localhost:8000",
- "projects": [
- {
- "name": "中台Admin",
- "code": "admin",
- "version": "v3.0.7",
- "description": ""
- }
- ]
- },
- //ZhonTai接口文档
- "apiUI": {
- //启用
- "enable": true,
- //路由前缀,如配置微服务文档地址:doc/module
- "routePrefix": "",
- //页脚
- "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"
- },
- //面向切面编程
- "aop": {
- //事务
- "transaction": true
- },
- //数据库日志
- "log": {
- //操作日志
- "operation": true
- },
- //限流
- "rateLimit": false,
- //验证码
- "varifyCode": {
- //启用
- "enable": false,
- //字体列表
- "fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
- },
- //默认密码
- "defaultPassword": "111111",
- //动态api
- "dynamicApi": {
- //结果格式化
- "formatResult": true
- }
- }
|