Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fd2ce936
authored
2025-12-12 10:59:02 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发版
1 parent
2f109134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
.env.product
src/layouts/index.vue
.env.product
View file @
fd2ce93
# 页面标题
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
...
...
src/layouts/index.vue
View file @
fd2ce93
...
...
@@ -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
()
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment