From 9dfbc038667839631578c12ff748534e5939bc82 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期二, 02 九月 2025 14:34:23 +0800
Subject: [PATCH] 1.修复微信小程序canvans显示在最上层问题

---
 common/api.js |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/common/api.js b/common/api.js
index a405af4..8d4a91f 100644
--- a/common/api.js
+++ b/common/api.js
@@ -1,16 +1,19 @@
 import {
 	fly
-} from '@/common/request/fly.js'
+} from '@/common/request/fly.js'
+const base = "http://192.168.21.3:9999"
+// const base = "https://lanpucloud.cn"
+
 //閰嶇疆璇锋眰鍩哄湴鍧�
-fly.config.baseURL = "http://lanpucloud.cn/herb"
+fly.config.baseURL = base + ""
 const ip = uni.getStorageSync('lan_ip');
 if (ip) {
 	fly.config.baseURL = "http://" + ip + ":9999"
 }
 
 const mqttBaseUrl = "lanpucloud.cn";
-const emqxBaseUrl = "http://" + mqttBaseUrl + ":1883/api/v5"
-
+const emqxBaseUrl =  base + ":1883/api/v5";
+ 
 // 娴嬭瘯
 function test(params) {
 	return fly.get('/test/jeecgDemo/queryById', params);

--
Gitblit v1.9.3