增加mqtt

This commit is contained in:
微微一笑
2025-07-16 11:16:19 +08:00
parent e42d4af3b2
commit 6257f9d84b
1550 changed files with 5264 additions and 116701 deletions

View File

@ -20,14 +20,6 @@ const config = {
MQTT_USERNAME: 'admin',
MQTT_PASSWORD: '#YtvpSfCNG'
}
}
};
// 根据环境获取配置
function getConfig() {
// 这里可以根据实际情况判断环境
// 开发阶段使用development上线后改为production
const env = 'development' // 或者 'production'
return config[env]
}
export default getConfig()
export default config;