소스 검색

API修改

dedsudiyu 1 주 전
부모
커밋
c0ed0c4d60
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/api/screen.js

+ 3 - 2
src/api/screen.js

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