fd2ce936 by lihua

发版

1 parent 2f109134
# 页面标题
VITE_APP_TITLE = 可信数据服务平台
# 接口域名
VITE_API_BASEURL = https://daop-tds-test.zgsjzc.com/
# VITE_API_BASEURL = http://49.4.26.201:31709/
VITE_API_BASEURL = https://enterprise-tds.zgsjzc.com/
VITE_IDASS_BASEURL = https://daop-test.zgsjzc.com/portalLogin
VITE_IDASS_BASEURL = https://enterprise.zgsjzc.com/portalLogin
# # 平台用户 接口请地址
# VITE_APP_USER_API_BASEURL = gateway-server
......
......@@ -276,8 +276,8 @@ const messageAllRead = () => {
const createServerConnect = () => {
let websocketUrl = 'ws://192.168.6.20:39203';
//测试环境
if (location.origin == 'https://daop-tds-test.zgsjzc.com') {
websocketUrl = 'wss://daop-tds-test.zgsjzc.com/websocket'
if (location.origin == 'https://enterprise-tds.zgsjzc.com') {
websocketUrl = 'wss://enterprise-tds.zgsjzc.com/websocket'
}
const ws = new WebSocket(`${websocketUrl}/websocket/${userData.staffGuid}`);
ws.onopen = function () {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!