diff --git a/env/.env.development b/env/.env.development
index 7414cee..a8b1ffb 100644
--- a/env/.env.development
+++ b/env/.env.development
@@ -7,7 +7,7 @@ VITE_SHOW_SOURCEMAP = true
# 是否启用读取配置文件 min
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
VITE_WEBAPP = ''
-VITE_SERVER_BASEURL = 'http://10.75.166.174:8080/jeecg-boot'
+VITE_SERVER_BASEURL = 'http://10.75.166.170:8080/jeecg-boot'
#VITE_SERVER_BASEURL = 'https://10.75.166.6/test'
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
diff --git a/src/api/devicecontrol/officedevice.ts b/src/api/devicecontrol/officedevice.ts
index 14d6c50..720cadb 100644
--- a/src/api/devicecontrol/officedevice.ts
+++ b/src/api/devicecontrol/officedevice.ts
@@ -11,9 +11,27 @@ export function gethomelist(config : object) { // 获取房间信息
}
+// export function gethomelistforApp(config : object) { // 获取房间信息
+// return http({
+// url: '/RoomOperation/RoomOperation/gethomelistforApp',
+// method: 'GET',
+// data: config
+// })
+// }
+
+//张祥瑞20250925修改为该方法
export function gethomelistforApp(config : object) { // 获取房间信息
return http({
- url: '/RoomOperation/RoomOperation/gethomelistforApp',
+ url: '/RoomAPP/RoomAPP/gethomelistforApp',
+ method: 'GET',
+ data: config
+ })
+}
+//张祥瑞20250925添加方法,传参为房间表id
+export function getfjkzbmforfjidApp(config : object) { // 查询开关状态
+ return http({
+ url: mqtturl +
+ "/mqttcontroller/mqttcontroller/getfjkzbmforfjid",
method: 'GET',
data: config
})
@@ -87,9 +105,17 @@ export function listAllRegions(config : object) { // 查询开关状态
})
}
+// export function Selecthomelist(config : object) { // 查询开关状态
+// return http({
+// url: '/RoomOperation/RoomOperation/Selecthomelist',
+// method: 'GET',
+// data: config
+// })
+// }
+//张祥瑞,20250925修改为该方法
export function Selecthomelist(config : object) { // 查询开关状态
return http({
- url: '/RoomOperation/RoomOperation/Selecthomelist',
+ url: '/RoomAPP/RoomAPP/SelecthomelistForApp',
method: 'GET',
data: config
})
diff --git a/src/common/socket.ts b/src/common/socket.ts
index facb619..e1ed04a 100644
--- a/src/common/socket.ts
+++ b/src/common/socket.ts
@@ -7,7 +7,7 @@ const baseUrl = import.meta.env.VITE_SERVER_BASEURL
class socket {
constructor() {
- console.log(77777777777777)
+ // console.log(77777777777777)
this.socketUrl = baseUrl
this.socketStart = false
this.socketType = ''
@@ -50,7 +50,7 @@ class socket {
})
// update-end-author:taoyan date:20220422 for: v2.4.6 的 websocket 服务端,存在性能和安全问题。 #3278
uni.onSocketOpen((res) => {
- console.log("连接进来了--------53333333333323----")
+ // console.log("连接进来了--------53333333333323----")
this.socketStart = true
callback && callback()
console.log('WebSocket连接已打开!')
@@ -85,10 +85,10 @@ class socket {
socketReceive() {
const _this = this
uni.onSocketMessage(function (res) {
- console.log('APP:--》收到服务器内容:', res)
- console.log('连接路径----:', baseUrl)
+ // console.log('APP:--》收到服务器内容:', res)
+ // console.log('连接路径----:', baseUrl)
if (res.data.startsWith('CONNECTED') || res.data.startsWith('MESSAGE') || res.data.startsWith('RECEIPT')) {
- console.log('放行----------:', res)
+ // console.log('放行----------:', res)
// 放行 STOMP 协议消息,交给 socketTask.onMessage 处理 by 闵
return;
}
diff --git a/src/pages-home/device-control/office/ALLleader.vue b/src/pages-home/device-control/office/ALLleader.vue
index 587579b..40d3af6 100644
--- a/src/pages-home/device-control/office/ALLleader.vue
+++ b/src/pages-home/device-control/office/ALLleader.vue
@@ -39,7 +39,7 @@
-
制冷 25°C