|
@@ -320,7 +320,7 @@ class Energy extends Base {
|
|
|
|
|
|
// 监控
|
|
|
public function monitor(){
|
|
|
- $lists = Db::name('energy_monitor')->where('org_id',$this->orgId)->where('del',0)->field('id,title,ueid')->select();
|
|
|
+ $lists = Db::name('monitor')->where('org_id',$this->orgId)->where('del',0)->field('id,title,ueid')->select();
|
|
|
foreach ($lists as $k=>$v){
|
|
|
$lists[$k]['url'] = url('h5/Index/monitor',['id'=>think_encrypt($v['id'])],false,true);
|
|
|
}
|