dedsudiyu 1 vecka sedan
förälder
incheckning
c0ed0c4d60
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3 2
      src/api/screen.js

+ 3 - 2
src/api/screen.js

@@ -177,9 +177,10 @@ export function getWeather() {
  * 11. 根据设备ID查询视频流
  * GET /iot/camera/getPreviewURLs
  */
-export function iotCameraGetPreviewURLs() {
+export function iotCameraGetPreviewURLs(params) {
   return request({
     url: '/iot/camera/getPreviewURLs',
-    method: 'get'
+    method: 'get',
+    params
   })
 }