From 8e5791c47eb2837955a19af59bf798b30ffee1c6 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 21 Feb 2024 17:31:01 +0800 Subject: [PATCH] update --- .../controller/dataview/DeviceController.php | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) 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