/** * @description: 可修改api,如果为空则是默认api */ const baseUrl = { // 基础请求接口 apiBaseUrl: '', // websocket请求接口 wsBaseUrl: '', // MediaPanel请求接口 mediaPanelPrefix: '' } /** * @description: 可修改mqtt配置,如果为空则是默认配置 */ const mqttConfig = { clientId: '', username: '', password: '', host: '', protocol: '', port: '' } window.globalApiConfig = { baseUrl, mqttConfig }