feat:修复朋友圈详情页刷新;修复私聊;朋友圈操作

This commit is contained in:
ctw committed 2025-12-01 11:52:58 +08:00
1 parent 4fc92459a0
commit 18d42d3e05
8 files changed
+217 -130

No files matched your search

+5 -5
View File
@@ -1,12 +1,11 @@
const ENV = 'DEV'; //设置环境(打包前修改此变量)
const ENV = process.env.NODE_ENV === 'development' ? 'DEV' : 'PROD';
const CHAT_ENV = {};
// 开发
if (ENV == 'DEV') {
CHAT_ENV.BASE_URL = 'http://chatsever.zianxin.com';
// CHAT_ENV.BASE_URL = "https://www.boxim.online/api";
CHAT_ENV.WS_URL = 'ws://chatapp.zianxin.com/im';
// CHAT_ENV.WS_URL = "wss://www.boxim.online/im";
// H5 走本地代理解决跨域问题
// #ifdef H5
@@ -14,9 +13,10 @@ if (ENV == 'DEV') {
// #endif
}
// 生产
if (ENV == 'PROD') {
CHAT_ENV.BASE_URL = 'https://www.boxim.online/api';
CHAT_ENV.WS_URL = 'wss://www.boxim.online/im';
CHAT_ENV.BASE_URL = 'http://chatsever.zianxin.com';
CHAT_ENV.WS_URL = 'ws://chatapp.zianxin.com/im';
}
export default CHAT_ENV;