罗广辉
2025-06-19 f27ca082eb0a839449dd50c49007b58e5ed6946f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
/**
 * @description: 可修改api,如果为空则是默认api
 */
const baseUrl = {
  // 基础请求接口
  apiBaseUrl: '',
  // websocket请求接口
  wsBaseUrl: '',
  // MediaPanel请求接口
  mediaPanelPrefix: ''
}
/**
 * @description: 可修改mqtt配置,如果为空则是默认配置
 */
const mqttConfig = {
  clientId: '',
  username: '',
  password: '',
  host: '',
  protocol: '',
  port: ''
}
 
window.globalApiConfig = {
  baseUrl,
  mqttConfig
}