feat:天平连接

This commit is contained in:
houjunxiang
2025-10-10 18:16:14 +08:00
parent 2b50debcd3
commit c8b2d8683e
16 changed files with 182 additions and 622 deletions

View File

@@ -30,5 +30,6 @@ export function getUpgradeBaseUrl() {
return uni.getStorageSync('upgradeBaseUrl')
}
export function getWebSocketUrl() {
return uni.getStorageSync('base_url').replace('/api', '') + '/ws'
// return uni.getStorageSync('base_url').replace('/api', '') + '/ws'
return 'ws://localhost:8330'
}