appconfig.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. //Swagger文档
  13. "swagger": {
  14. //启用
  15. "enable": true,
  16. //地址
  17. "url": "http://localhost:8000",
  18. "projects": [
  19. {
  20. "name": "中台Admin",
  21. "code": "admin",
  22. "version": "v2.2.0",
  23. "description": ""
  24. }
  25. ]
  26. },
  27. //新版Api文档
  28. "apiUI": {
  29. //启用
  30. "enable": true,
  31. //页脚
  32. "footer": {
  33. "enable": true,
  34. "content": "Copyright<a-icon type=\"copyright\" /> 2022-<a target=\"_blank\" href=\"https://www.zhontai.net\">中台Admin</a>"
  35. }
  36. },
  37. //MiniProfiler性能分析器
  38. "MiniProfiler": false,
  39. //统一认证授权服务器
  40. "IdentityServer": {
  41. //启用
  42. "enable": false,
  43. //地址,开发认证地址前往appconfig.Development.json修改
  44. "url": "https://login.zhontai.net"
  45. },
  46. //面向切面编程
  47. "aop": {
  48. //事物
  49. "transaction": true
  50. },
  51. //日志
  52. "log": {
  53. //操作日志
  54. "operation": true
  55. },
  56. //限流
  57. "rateLimit": false,
  58. //验证码
  59. "varifyCode": {
  60. //启用
  61. "enable": true,
  62. //字体列表
  63. "fonts": [ "Times New Roman", "Verdana", "Arial", "Gungsuh", "Impact" ]
  64. }
  65. }