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
360dadb0
authored
2025-02-27 09:04:30 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
2a14b7a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
src/api/modules/queryService.ts
src/utils/request.ts
src/api/modules/queryService.ts
View file @
360dadb
...
...
@@ -93,7 +93,7 @@ export const getProduct = (params) => request({
export const getTenantInfo = (params) => request({
// url: `
$
{
import
.
meta
.
env
.
VITE_APP_PERSONAL_URL
}
/tenant/g
etByGuid
/
$
{
params
}
`,
// url: `
http
:
//localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
url
:
`https://zq-
lt
.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
url
:
`https://zq-
zcgl
.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
method
:
'get'
,
params
})
...
...
src/utils/request.ts
View file @
360dadb
...
...
@@ -157,7 +157,7 @@ service.interceptors.response.use(
type
:
"error"
,
duration
:
3000
})
//
useUserStore().logout(true)
useUserStore
().
logout
(
true
)
return
;
}
if
(
error
.
response
.
data
.
msg
.
indexOf
(
'token无效'
)
>
-
1
)
{
...
...
@@ -166,14 +166,14 @@ service.interceptors.response.use(
type
:
"error"
,
duration
:
3000
})
//
useUserStore().logout(true)
useUserStore
().
logout
(
true
)
}
else
if
(
error
.
response
.
data
.
msg
.
indexOf
(
'token已过期'
)
>
-
1
)
{
ElMessage
({
message
:
"token已过期,请重新登录"
,
type
:
"error"
,
duration
:
3000
})
//
useUserStore().logout(true)
useUserStore
().
logout
(
true
)
}
else
{
ElMessage
({
message
:
error
.
response
.
data
.
msg
,
...
...
@@ -189,7 +189,7 @@ service.interceptors.response.use(
type
:
"error"
,
duration
:
3000
})
//
useUserStore().logout(true)
useUserStore
().
logout
(
true
)
break
case
500
:
if
(
error
.
response
.
data
?.
msg
)
{
...
...
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