appconfig.json 1.7 KB

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