appsettings.Development.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "AllowedHosts": "*",
  3. "CallCenterConfiguration": {
  4. "CallCenterType": "WeiErXin", //XunShi、WeiErXin
  5. "DeviceConfigs": {
  6. "Address": "http://192.168.100.100/xml",
  7. "Authorize": true,
  8. "ReceiveKey": "E1BBD1BB-A269-44",
  9. "SendKey": "2A-BA92-160A3B1D",
  10. "Expired": 86300 //认证过期时间(秒)
  11. },
  12. "Wex": {
  13. "Address": "http://222.212.82.225:8083",
  14. "Username": "admin",
  15. "Password": "Wex@12345"
  16. }
  17. },
  18. "ConnectionStrings": {
  19. "Hotline": "PORT=5432;DATABASE=hotline;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  20. "Redis": "110.188.24.182",
  21. "MongoDB": "mongodb://192.168.100.121:27017",
  22. "Wex": "server=222.212.82.225;Port=4509;Database=fs_kft;Uid=root;Pwd=Wex@12345;"
  23. },
  24. "Swagger": true,
  25. "Cors": {
  26. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://hotline.fw.com" ]
  27. },
  28. "IdentityConfiguration": {
  29. "Password": {
  30. "RequiredLength": 8,
  31. "RequireNonAlphanumeric": true,
  32. "RequireLowercase": true,
  33. "RequireUppercase": true
  34. },
  35. "User": {
  36. "RequireUniqueEmail": false
  37. },
  38. "SignIn": {
  39. "RequireConfirmedAccount": false
  40. },
  41. "Lockout": {
  42. "MaxFailedAccessAttempts": 5,
  43. "DefaultLockoutTimeSpan": "00:10:00"
  44. },
  45. "Account": {
  46. "DefaultPassword": "Fwkj@789"
  47. },
  48. "Jwt": {
  49. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  50. "Issuer": "hotline_server",
  51. "Audience": "hotline",
  52. "Scope": "hotline_api",
  53. "Expired": 86400 //seceonds
  54. }
  55. },
  56. "DatabaseConfiguration": {
  57. "ApplyDbMigrations": true,
  58. "ApplySeed": false
  59. },
  60. "MqConfiguration": {
  61. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  62. "UseDashBoard": true,
  63. "RabbitMq": {
  64. "UserName": "dev",
  65. "Password": "123456",
  66. "HostName": "110.188.24.182",
  67. "VirtualHost": "fwt-master"
  68. }
  69. },
  70. "SmsAccountInfo": {
  71. "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  72. "AccountUser": "CS12345", //短信系统账号
  73. "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  74. "ReturnAccountUser": "fwkj", //短信回传账号
  75. "ReturnAccountPwd": "fwkj12" //短信回传密码
  76. },
  77. "FwClient": {
  78. "ClientId": "hotline",
  79. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  80. },
  81. "ConfigCenter": {
  82. "ServerAddresses": [ "http://110.188.24.28:8848" ],
  83. "Namespace": "17503980-9b0d-4d3e-8e35-c842c41fb888", //debug
  84. "ServiceName": "hotline"
  85. }
  86. }