添加无人机状态
parent
1019c09161
commit
58f0a35635
|
|
@ -44,6 +44,7 @@ namespace OpenAuth.WebApi.Model.mqtt
|
|||
device_sn = root["data"]?["sub_device"]?["device_sn"]?.ToString() ?? "",
|
||||
device_online_status = root["data"]?["sub_device"]?["device_online_status"]?.ToString() ?? "",
|
||||
mode_code = root["data"]?["mode_code"]?.ToString() ?? "",
|
||||
drone_in_dock = root["data"]?["drone_in_dock"]?.ToString() ?? "",
|
||||
};
|
||||
var a = _cache.Set(root["data"]?["sub_device"]?["device_sn"]?.ToString(), data, DateTime.Now.AddMinutes(1));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
"UploadPath": "",
|
||||
//附件上传的路径,如果为空则保存在站点根目录
|
||||
"RedisConf": {
|
||||
"Conn": "192.168.10.163:6379,password=123456",
|
||||
//"Conn": "127.0.0.1:6379,password=123456",
|
||||
//"Conn": "192.168.10.163:6379,password=123456",
|
||||
"Conn": "127.0.0.1:6379,password=123456",
|
||||
"Database": 7
|
||||
},
|
||||
//redis配置
|
||||
|
|
|
|||
Loading…
Reference in New Issue