Browse Source

添加心跳间隔时间配置

Jeremy 2 years ago
parent
commit
f7c77af188
1 changed files with 55 additions and 51 deletions
  1. 55 51
      src/appsettings.json

+ 55 - 51
src/appsettings.json

@@ -1,71 +1,75 @@
 {
-  "General":{
-    "Version":"1.0.0.0",
-    "IsDistributed":false,
-    "IsMaster":false,
-    "MasterUrl":""
+  "General": {
+    "Version": "1.0.0.0",
+    "IsDistributed": false,
+    "IsMaster": false,
+    "MasterUrl": ""
   },
-  "Gateway":{
-    "Host": "http://172.21.0.15:8303/"    
+  "Gateway": {
+    "Host": "http://172.21.0.15:8303/"
   },
-  "Log":{
+  "Log": {
     "Level": "info",
     "Debug": false
   },
-  "Services":{
-    "InProcess":"WingEmailModule,WingMongoDBModule,WingSessionModule,WingSMSModule,WingNotificationModule",
-    "JsonRpcHttp":"WingManagementModule,WingStorageModule,WingUserModule,WingDeviceService,WingRemedicalModule,ReportService",
+  "Services": {
+    "InProcess": "WingEmailModule,WingMongoDBModule,WingSessionModule,WingSMSModule,WingNotificationModule",
+    "JsonRpcHttp": "WingManagementModule,WingStorageModule,WingUserModule,WingDeviceService,WingRemedicalModule,ReportService",
     "Remote": "WingUserModule|http://192.168.6.117,WingDeviceService|http://192.168.6.117"
   },
-  "SMS":{
-    "Host":"http://*:8302/",
-    "CheckVerifyCodeApi":"http://127.0.0.1:8302/SmsTool/SendSms/CheckVerifyCode",
-    "SendVerifyCodeApi":"http://127.0.0.1:8302/SmsTool/SendSms/SendVerifyCode",
-    "SendMessageApi":"http://127.0.0.1:8302/SmsTool/SendSms/SendMessage"
+  "SMS": {
+    "Host": "http://*:8302/",
+    "CheckVerifyCodeApi": "http://127.0.0.1:8302/SmsTool/SendSms/CheckVerifyCode",
+    "SendVerifyCodeApi": "http://127.0.0.1:8302/SmsTool/SendSms/SendVerifyCode",
+    "SendMessageApi": "http://127.0.0.1:8302/SmsTool/SendSms/SendMessage"
   },
-  "Remedical":
-  {
-    "IsUploadThumbnail":true
+  "Remedical": {
+    "IsUploadThumbnail": true
   },
-  "Notification":
-  {
-    "Host":"http://*:9301/"
+  "Notification": {
+    "Host": "http://*:9301/"
   },
   "Report": {
     "ShareCodePrefix": "1",
     "MessageUrl": "http://report.ius.plus:8303",
     "ReportUrl": "http://china.ius.plus/share/ReportPage.html?file={0}&language=Chinese",
-    "ReportMessageTemplateId":"1017793"
+    "ReportMessageTemplateId": "1017793"
   },
-  "Storage":{
-      "ServerHost":"http://*:9303/",
-      "StorageServer":"VCS",
-      "StorageNode":"AP_BeiJing",
-      "DivisionForUpload": 5242880,
-      "SliceSizeForUpload": 2097152,
-      "AppId":"AKIDMSIsADUUpvJGwJOKvsb5IDrGtGNBRzzi",
-      "Sercret":"4sQhdJBl5HI7f3oLbZIlwqXOyILyLWP0",
-      "Bucket":"Flyinsono_BJ_1300984704",
-      "CFSServerUrl":"http://localhost:9303",
-      "CDNServerUrl":"http://localhost:9303"
+  "Storage": {
+    "ServerHost": "http://*:9303/",
+    "StorageServer": "VCS",
+    "StorageNode": "AP_BeiJing",
+    "DivisionForUpload": 5242880,
+    "SliceSizeForUpload": 2097152,
+    "AppId": "AKIDMSIsADUUpvJGwJOKvsb5IDrGtGNBRzzi",
+    "Sercret": "4sQhdJBl5HI7f3oLbZIlwqXOyILyLWP0",
+    "Bucket": "Flyinsono_BJ_1300984704",
+    "CFSServerUrl": "http://localhost:9303",
+    "CDNServerUrl": "http://localhost:9303"
   },
-  "Database":{
-    "Server":"127.0.0.1",
-    "Port":8301,
-    "MaxConn":100,
-    "DBName":"WingCloudDB"
+  "Database": {
+    "Server": "127.0.0.1",
+    "Port": 8301,
+    "MaxConn": 100,
+    "DBName": "WingCloudDB"
   },
-  "Authentication":{
-    "Admin" : 30,
-    "User" :2880,
-    "US" :52560000,
-    "USBox" :52560000,
-    "ThirdParty" :52560000,
-    "IntervalSec" :900,
-    "ThirdPartyInterface":"FindReportByCodeAsync,FindExamReportsAsync"
+  "Authentication": {
+    "Admin": 30,
+    "User": 2880,
+    "US": 52560000,
+    "USBox": 52560000,
+    "ThirdParty": 52560000,
+    "IntervalSec": 900,
+    "ThirdPartyInterface": "FindReportByCodeAsync,FindExamReportsAsync"
   },
-  "AI":{
-    "WorkerLevel" : 1,
-    "BatchImageSize" :16
+  "AI": {
+    "WorkerLevel": 1,
+    "BatchImageSize": 16
+  },
+  "Device": {
+    "HeartRateSeconds": 300
+  },
+  "User": {
+    "HeartRateSeconds": 300
   }
-}
+}