update
This commit is contained in:
parent
2c48c37228
commit
fa6f09be15
|
@ -144,7 +144,7 @@ class AnimalInfoLogic extends BaseLogic
|
||||||
if (!empty($res['values'])) {
|
if (!empty($res['values'])) {
|
||||||
$temperature = $res['values'][1];
|
$temperature = $res['values'][1];
|
||||||
} else {
|
} else {
|
||||||
$temperature = 0;
|
$temperature = '暂无数据';
|
||||||
}
|
}
|
||||||
$data['temperature'] = $temperature;
|
$data['temperature'] = $temperature;
|
||||||
return $data;
|
return $data;
|
||||||
|
|
Loading…
Reference in New Issue