appconfig.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. //应用程序类型Controllers ControllersWithViews MVC
  3. "appType": "Controllers",
  4. //Api地址
  5. "urls": [ "http://*:8000" ],
  6. //跨域地址
  7. "corUrls": [ "http://localhost:9000", "http://127.0.0.1:9000" ],
  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. "routePrefix": "swagger",
  26. //地址
  27. "url": "http://localhost:8000",
  28. "projects": [
  29. {
  30. "name": "中台Admin",
  31. "code": "admin",
  32. "version": "v2.2.1",
  33. "description": ""
  34. }
  35. ]
  36. },
  37. //ZhonTai接口文档
  38. "apiUI": {
  39. //启用
  40. "enable": true,
  41. "routePrefix": "",
  42. //页脚
  43. "footer": {
  44. "enable": true,
  45. "content": "Copyright<a-icon type=\"copyright\" /> 2022-<a target=\"_blank\" href=\"https://www.zhontai.net\">中台Admin</a>"
  46. }
  47. },
  48. //MiniProfiler性能分析器
  49. "miniProfiler": false,
  50. //统一认证授权服务器
  51. "identityServer": {
  52. //启用
  53. "enable": false,
  54. //地址,开发认证地址前往appconfig.Development.json修改
  55. "url": "https://login.zhontai.net"
  56. },
  57. //面向切面编程
  58. "aop": {
  59. //事物
  60. "transaction": true
  61. },
  62. //数据库日志
  63. "log": {
  64. //操作日志
  65. "operation": true
  66. },
  67. //限流
  68. "rateLimit": false,
  69. //验证码
  70. "varifyCode": {
  71. //启用
  72. "enable": true,
  73. //字体列表
  74. "fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
  75. },
  76. //默认密码
  77. "defaultPassword": "111111"
  78. }