Showing
2 changed files
with
5 additions
and
1 deletions
@@ -112,6 +112,8 @@ export const getDeviceList = (params: any, data?: object) => | @@ -112,6 +112,8 @@ export const getDeviceList = (params: any, data?: object) => | ||
112 | export const getVideoUrl = (id: string) => | 112 | export const getVideoUrl = (id: string) => |
113 | defHttp.get({ | 113 | defHttp.get({ |
114 | url: `${Api.VIDEOURL}${id}` | 114 | url: `${Api.VIDEOURL}${id}` |
115 | + }, { | ||
116 | + withShareToken: true | ||
115 | }) | 117 | }) |
116 | 118 | ||
117 | //获取行政区域 | 119 | //获取行政区域 |
@@ -31,6 +31,8 @@ export const getVideoControlStart = ({ | @@ -31,6 +31,8 @@ export const getVideoControlStart = ({ | ||
31 | url: `${Api.GET_VIDEO_CONTROL_START}/${deviceId}/${channelId}`, | 31 | url: `${Api.GET_VIDEO_CONTROL_START}/${deviceId}/${channelId}`, |
32 | timeout: 30 * 1000, | 32 | timeout: 30 * 1000, |
33 | }, | 33 | }, |
34 | - {} | 34 | + { |
35 | + withShareToken: true | ||
36 | + } | ||
35 | ); | 37 | ); |
36 | }; | 38 | }; |