mqtt地址变更
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user