From cf2b5e6d310ec9653e382d0902bd981e0f9ba05e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 11 Jan 2023 17:12:11 +0800
Subject: [PATCH] video无数据处理,及首页处理
---
src/api/video/index.js | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/api/video/index.js b/src/api/video/index.js
index 026e899..21d4a56 100644
--- a/src/api/video/index.js
+++ b/src/api/video/index.js
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2022-11-15 15:10:41
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-01-06 17:15:39
+ * @LastEditTime: 2023-01-11 11:29:09
* @FilePath: \srs-police-affairs\src\api\video\index.js
* @Description:
*
@@ -35,12 +35,13 @@
/**
* 获取视频播放网址
- * @param {*} equipmentNumber 设备编号
+ * @param {*} channelId 通道编号
* @returns
*/
-export const getDevices = (equipmentNumber, channelId) => {
+export const getDevices = (channelId) => {
return request({
- url: `/play/start/${equipmentNumber}/${channelId}`,
+ // 内网使用地址,外网把36110000002009999000更换掉
+ url: `/play/start/36110000002009999000/${channelId}`,
method: 'get',
requestBaseUrl: 'outside'
})
--
Gitblit v1.9.3