appconfig.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. //应用程序类型Controllers ControllersWithViews MVC
  3. "appType": "Controllers",
  4. //Api地址
  5. "urls": [ "http://*:8000" ],
  6. //跨域地址
  7. "corUrls": [ ],
  8. //程序集名称
  9. "assemblyNames": [ "ZhonTai.Admin" ],
  10. //租户
  11. "tenant": true,
  12. //分布式事务唯一标识admin,为空则不生成分布式事务表
  13. "distributeKey": "",
  14. //验证
  15. "validate": {
  16. //登录
  17. "login": true,
  18. //权限
  19. "permission": true
  20. },
  21. //Swagger文档
  22. "swagger": {
  23. //启用
  24. "enable": true,
  25. //路由前缀,如配置微服务文档地址:doc/module/swagger
  26. "routePrefix": "swagger",
  27. //地址
  28. "url": "http://localhost:8000",
  29. "projects": [
  30. {
  31. "name": "中台Admin",
  32. "code": "admin",
  33. "version": "v3.0.7",
  34. "description": ""
  35. }
  36. ]
  37. },
  38. //ZhonTai接口文档
  39. "apiUI": {
  40. //启用
  41. "enable": true,
  42. //路由前缀,如配置微服务文档地址:doc/module
  43. "routePrefix": "",
  44. //页脚
  45. "footer": {
  46. "enable": false,
  47. "content": "Copyright<a-icon type=\"copyright\" /> 2022-<a target=\"_blank\" href=\"https://www.zhontai.net\">中台Admin</a>"
  48. }
  49. },
  50. //MiniProfiler性能分析器
  51. "miniProfiler": false,
  52. //统一认证授权服务器
  53. "identityServer": {
  54. //启用
  55. "enable": false,
  56. //认证地址
  57. "url": "https://localhost:5000"
  58. },
  59. //面向切面编程
  60. "aop": {
  61. //事务
  62. "transaction": true
  63. },
  64. //数据库日志
  65. "log": {
  66. //操作日志
  67. "operation": true
  68. },
  69. //限流
  70. "rateLimit": false,
  71. //验证码
  72. "varifyCode": {
  73. //启用
  74. "enable": false,
  75. //字体列表
  76. "fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
  77. },
  78. //默认密码
  79. "defaultPassword": "111111",
  80. //动态api
  81. "dynamicApi": {
  82. //结果格式化
  83. "formatResult": true
  84. }
  85. }