applicationsettings.Development.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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=root;Password=rj123*456;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/1J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c6eCg/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": "D:\\Projects\\YBEE\\temp\\results",
  58. "ResourceFileRoot": "D:\\Projects\\YBEE\\temp\\resources",
  59. "SyncQuestionnaireIntervalMinute": 2
  60. },
  61. "RefreshTokenSetting": {
  62. "ExpiredTime": 43200
  63. },
  64. "Serilog": {
  65. "MinimumLevel": {
  66. "Default": "Information",
  67. "Override": {
  68. "System": "Information",
  69. "Microsoft": "Information",
  70. "Microsoft.Hosting.Lifetime": "Information",
  71. "Microsoft.EntityFrameworkCore": "Information"
  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": "Information",
  94. "Microsoft.AspNetCore": "Warning",
  95. "Microsoft.EntityFrameworkCore": "Information",
  96. "Microsoft.EntityFrameworkCore.Database.Command": "Information"
  97. }
  98. }
  99. }