mqtt地址变更

This commit is contained in:
2025-05-13 16:36:04 +08:00
parent c5a23e5913
commit a310124bb2
2 changed files with 10 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ export const title = 'shgg_mes'
// 云服务器环境
// const url = 'wss://ff6bab7a.ala.cn-hangzhou.emqxsl.cn:8084/mqtt';
// 本地环境
// const url = 'ws://192.168.0.58:8083/mqtt'
//const url = 'ws://192.168.23.165:8083/mqtt'
// 线上环境
const url = 'ws://192.168.60.251:8083/mqtt'
// 创建客户端实例
@@ -57,6 +57,8 @@ export const GP12Topic = {
export const BackEndTopic = {
// 后道标签扫码
SiteComLabelCode: title + '/backEnd/SiteComLabelCode',
// 后道标签打印
SiteLabelPrint: title + '/backEnd/print',
}
export function createClient(clientId = null) {