|
@@ -137,7 +137,7 @@ class Api extends CatchController
|
|
|
/**
|
|
|
* 缓存到redis历史数据
|
|
|
*/
|
|
|
- if(substr($da,8,2)=='01'&&$history_status){
|
|
|
+ if(substr($da,8,2)=='01'&&$history_status&&$DA["rssi1"]!=$DA["rssi2"]){
|
|
|
$dispose = new dispose($ues_redis);
|
|
|
$dispose->set_label_history($DA);
|
|
|
debug_log("label_log","cache: ".json_encode($DA));
|