diff --git a/app/api/controller/dataview/DeviceController.php b/app/api/controller/dataview/DeviceController.php index 38ad84a..ad4e809 100644 --- a/app/api/controller/dataview/DeviceController.php +++ b/app/api/controller/dataview/DeviceController.php @@ -94,6 +94,38 @@ class DeviceController extends BaseApiController public function deviceDesc() { - + $data = [ + [ + 'name'=>'4G中转站', + 'desc'=>'4G中转站设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ], + [ + 'name'=>'噪音监测', + 'desc'=>'噪音监测设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ], + [ + 'name'=>'温湿度监测', + 'desc'=>'温湿度监测设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ], + [ + 'name'=>'烟雾监测', + 'desc'=>'烟雾监测设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ], + [ + 'name'=>'甲烷监测', + 'desc'=>'甲烷监测设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ], + [ + 'name'=>'氮气监测', + 'desc'=>'氮气监测设备', + 'icon'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/def/15fc3202402211610238016.png' + ] + ]; + return $this->success('成功', $data); } } \ No newline at end of file