소스 검색

no message

DESKTOP-9JTA2JJ\HP 5 년 전
부모
커밋
969264e96a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/application/controllers/Lampcontrol.php

+ 1 - 1
api/application/controllers/Lampcontrol.php

@@ -1530,7 +1530,7 @@ class Lampcontrol extends Base_Controller {
             ];
             $where = ['lampid'=>$lamp_id,'updatetime >='=>$beginDate,'updatetime <='=>$endDate];
             $total = $this->RealtimeInfoLog_model->get_count($where,'count(*) as total');
-            $fields = 'batvoltage as battvoltage,updatetime,DayOverDisChgTimes as overtimes';
+            $fields = 'batvoltage as battvoltage,chgtemper as batttemper,updatetime,DayOverDisChgTimes as overtimes';
             $res = $this->RealtimeInfoLog_model->get_list($where, $fields,$count, ($page-1)*$count, 'updatetime desc,id desc');
         }else{