applicationsettings.Development.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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=183.230.108.224;Database=ybee_eqm;User ID=root;Password=ir2019@spring;pooling=true;port=3306;sslmode=none;CharSet=utf8;AllowPublicKeyRetrieval=True;",
  36. "DbMain": "Data Source=localhost;Database=ybee_eqm;User ID=root;Password=rj123*456;pooling=true;port=3306;sslmode=none;CharSet=utf8;AllowPublicKeyRetrieval=True;",
  37. "TQES": "Data Source=183.230.108.224,5002; Initial Catalog=TQES_NEW; User Id=sa; Password=tqes123*456; TrustServerCertificate=true;"
  38. },
  39. "Auth": {
  40. "AesPassword": "73d42fd3e84462de4218d122b24fdffa",
  41. "RsaPrivateKey": "<RSAKeyValue><Modulus>pkEAip3hPiQ4AehG1Pr92NwavhX2RVXbZArpMH3FpNEax4bZ8dtlxXTeAJeK7TcKLVF3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YqAMABmqNedmz10y1yE7wjVk/L6Ht/YyZAPSzIA56dwIKd1JFVw1YfotdUJ0GbWF0PqKAIWS0CQ5kZN4f/cHswm+enFEOWBcxfGfG0tFSHjjm2AMvDFlUWQ=</InverseQ><D>AsaubKIgQw+1w7UONxDjMOjT+tKWZH1U3Cx2d7HR8rjvJTUc6eCg/WrAfkAJjivPcVxH4xHTg/y6btBQMU7H2PVhe5d+KOxuyLDUdCTNozONEz7FGmyNqPpvMSqBxBH6RSCaTkLDHZuHXd8yiu1USXeHK8PsSjqlgEkzC6nOg1/NBJbJwDTIyjvu9JjQ6jCN/y3fxQhalcG0PJBVpUns7jFWW2wCkN7I2jiR/vSPzqFsyz7PbRrm7RBQIdfHHTyN8MP6aIeyFpGgJD8+SDY0NkoixtSOlCmAeSG4hgPPGxBMACPnYxkn0jmGZplp+JK/kTnchkm5TYLPL+FxDfcR/Q==</D></RSAKeyValue>"
  42. },
  43. "JWTSettings": {
  44. "ValidateIssuerSigningKey": true,
  45. "IssuerSigningKey": "9522b861a279f6def070126ab0de8590",
  46. "ValidateIssuer": true,
  47. "ValidIssuer": "eqm.ybee",
  48. "ValidateAudience": true,
  49. "ValidAudience": "eqm.ybee",
  50. "ValidateLifetime": true,
  51. "ExpiredTime": 120,
  52. "ClockSkew": 5,
  53. "Algorithm": "HS256"
  54. },
  55. "SnowId": {
  56. "WorkerId": "1"
  57. },
  58. "EqmSite": {
  59. "ExamResultRoot": "D:\\Projects\\YBEE\\temp\\results",
  60. "ResourceFileRoot": "D:\\Projects\\YBEE\\temp\\resources",
  61. "SyncQuestionnaireIntervalMinute": 2
  62. },
  63. "RefreshTokenSetting": {
  64. "ExpiredTime": 43200
  65. },
  66. "Serilog": {
  67. "MinimumLevel": {
  68. "Default": "Information",
  69. "Override": {
  70. "System": "Information",
  71. "Microsoft": "Information",
  72. "Microsoft.Hosting.Lifetime": "Information",
  73. "Microsoft.EntityFrameworkCore": "Information"
  74. }
  75. },
  76. "WriteTo": [
  77. {
  78. "Name": "Console",
  79. "Args": {
  80. "outputTemplate": "[Time]{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}[Level]{Level:u3}{NewLine}[Message]{Message:lj}{NewLine}{NewLine}"
  81. }
  82. },
  83. {
  84. "Name": "File",
  85. "Args": {
  86. "path": "logs/.log",
  87. "rollingInterval": "Day",
  88. "outputTemplate": "[Time]{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}[Level]{Level:u3}{NewLine}[Message]{Message:lj}{NewLine}{NewLine}"
  89. }
  90. }
  91. ]
  92. },
  93. "Logging": {
  94. "LogLevel": {
  95. "Default": "Information",
  96. "Microsoft.AspNetCore": "Warning",
  97. "Microsoft.EntityFrameworkCore": "Information",
  98. "Microsoft.EntityFrameworkCore.Database.Command": "Information"
  99. }
  100. }
  101. }