applicationsettings.Production.json 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
  3. "AllowedHosts": "*",
  4. "SpecificationDocumentSettings": {
  5. "DocumentTitle": "YBEE-EQM | API",
  6. "GroupOpenApiInfos": [
  7. {
  8. "Group": "Default",
  9. "Title": "YBEE-EQM API",
  10. "Version": "1.0.0"
  11. }
  12. ],
  13. "RoutePrefix": "api"
  14. },
  15. "CorsAccessorSettings": {
  16. "WithExposedHeaders": [ "access-token", "x-access-token", "environment", "Content-Disposition" ]
  17. },
  18. "DynamicApiControllerSettings": {
  19. "LowercaseRoute": true,
  20. "AsLowerCamelCase": true,
  21. "KeepVerb": true,
  22. "ForceWithRoutePrefix": true,
  23. "UrlParameterization": true,
  24. "VerbToHttpMethods": [
  25. [ "query", "POST" ],
  26. [ "update", "POST" ],
  27. [ "save", "POST" ],
  28. [ "del", "POST" ],
  29. [ "delete", "POST" ],
  30. [ "clear", "POST" ],
  31. [ "remove", "POST" ]
  32. ]
  33. },
  34. "ConnectionStrings": {
  35. "DbMain": "Data Source=localhost;Database=ybee_eqm;User ID=mc;Password=ir2019@spring;pooling=true;port=3306;sslmode=none;CharSet=utf8;AllowPublicKeyRetrieval=True;"
  36. },
  37. "Auth": {
  38. "AesPassword": "73d42fd3e84462de4218d122b24fdffa",
  39. "RsaPrivateKey": "<RSAKeyValue><Modulus>pkEAip3hPiQ4AehG1Pr92NwavhX2RVXbZArpMH3FpNEax4bZ8dtlxXTeAJeK7TcKLVF3YzK+iISBBgXZi+KjiSNFZL29MVen/gnH7ZRXBiBY7LQNsQGoPmdwHbeLA0sEFFKGAuaq22xh9JdfjS/toKsTaDMqiIYO4L0sQlMCYbUhL22awi7WIjlkmTePj0+PVpXHhccR85mI89f8lfuxFK1Yuoq7QqLBT+nySEWCMRpVcktY2mvhkd0e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JTUc6eCg/WrAfkAJjivPcVxH4xHTg/y6btBQMU7H2PVhe5d+KOxuyLDUdCTNozONEz7FGmyNqPpvMSqBxBH6RSCaTkLDHZuHXd8yiu1USXeHK8PsSjqlgEkzC6nOg1/NBJbJwDTIyjvu9JjQ6jCN/y3fxQhalcG0PJBVpUns7jFWW2wCkN7I2jiR/vSPzqFsyz7PbRrm7RBQIdfHHTyN8MP6aIeyFpGgJD8+SDY0NkoixtSOlCmAeSG4hgPPGxBMACPnYxkn0jmGZplp+JK/kTnchkm5TYLPL+FxDfcR/Q==</D></RSAKeyValue>"
  40. },
  41. "JWTSettings": {
  42. "ValidateIssuerSigningKey": true,
  43. "IssuerSigningKey": "9522b861a279f6def070126ab0de8590",
  44. "ValidateIssuer": true,
  45. "ValidIssuer": "eqm.ybee",
  46. "ValidateAudience": true,
  47. "ValidAudience": "eqm.ybee",
  48. "ValidateLifetime": true,
  49. "ExpiredTime": 120,
  50. "ClockSkew": 5,
  51. "Algorithm": "HS256"
  52. },
  53. "SnowId": {
  54. "WorkerId": "1"
  55. },
  56. "EqmSite": {
  57. "ExamResultRoot": "E:\\YBEE\\EQM\\files\\results",
  58. "ResourceFileRoot": "E:\\YBEE\\EQM\\files\\resources",
  59. "SyncQuestionnaireIntervalMinute": 5
  60. },
  61. "RefreshTokenSetting": {
  62. "ExpiredTime": 43200
  63. },
  64. "Serilog": {
  65. "MinimumLevel": {
  66. "Default": "Warning",
  67. "Override": {
  68. "System": "Warning",
  69. "Microsoft": "Warning",
  70. "Microsoft.Hosting.Lifetime": "Information",
  71. "Microsoft.EntityFrameworkCore": "Warning"
  72. }
  73. },
  74. "WriteTo": [
  75. {
  76. "Name": "Console",
  77. "Args": {
  78. "outputTemplate": "[Time]{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}[Level]{Level:u3}{NewLine}[Message]{Message:lj}{NewLine}{NewLine}"
  79. }
  80. },
  81. {
  82. "Name": "File",
  83. "Args": {
  84. "path": "logs/.log",
  85. "rollingInterval": "Day",
  86. "outputTemplate": "[Time]{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}[Level]{Level:u3}{NewLine}[Message]{Message:lj}{NewLine}{NewLine}"
  87. }
  88. }
  89. ]
  90. },
  91. "Logging": {
  92. "LogLevel": {
  93. "Default": "Warning",
  94. "Microsoft.AspNetCore": "Warning",
  95. "Microsoft.EntityFrameworkCore": "Warning"
  96. }
  97. }
  98. }