This commit is contained in:
chenbo 2024-02-21 14:31:58 +08:00
parent 2c48c37228
commit fa6f09be15
1 changed files with 1 additions and 1 deletions

View File

@ -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;