完善md文件

This commit is contained in:
renna 2025-01-03 14:29:14 +08:00
parent 56acf7667f
commit cd84ff0d2f
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
# Vue 3 + TypeScript + Vite
# 安装three
# npm install three
# npm install three
# 内网地址:
http://172.16.2.5:30714
ws://172.16.2.5:30714/mqtt
# 打包:
npm run build

View File

@ -1,6 +1,6 @@
import request from '../utils/request'
// const baseUrl ="http://www.67934.cn:30102" //外网地址
const baseUrl ="http://192.168.1.150:30702" //本地地址
const baseUrl ="http://172.16.2.5:30714" //本地地址

View File

@ -396,7 +396,7 @@ const MQTT = () => {
for (const key in deviceMapping) {
const device = deviceMapping[key];
const topic = `$avic/superlink/iot/zzfc/${device.number}/measurement`;
const topic = `$avic/superlink/iot/dzfc/${device.number}/measurement`;
mqttClient.subscribe(topic);
}
});