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
b8ef51e6
authored
2025-01-24 18:54:04 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
访问流通平台
1 parent
942b47cc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
.env.development
default.conf
src/api/modules/queryService.ts
.env.development
View file @
b8ef51e
...
...
@@ -82,7 +82,7 @@ VITE_APP_ATTACHMENT_TEMPLATE = ms-daop-personel-service
VITE_APP_PERSONAL_URL = 'ms-daop-personel-service'
#流通平台地址
VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/
api/
VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/
# 测试环境访问地址
# VITE_API_CIRCULATION_URL = http://192.168.6.22:29900/circulation
...
...
default.conf
View file @
b8ef51e
...
...
@@ -61,7 +61,7 @@ server {
# 使用 rewrite 将 /circulation 替换为 /new-api
rewrite
^/
circulation
/(.*)$ /$
1
break
;
proxy_pass
https
://
daop
-
lt
-
test
.
zgsjzc
.
com
/
api
;
proxy_pass
https
://
daop
-
lt
-
test
.
zgsjzc
.
com
;
}
location
/
delivery
{
# 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问
...
...
src/api/modules/queryService.ts
View file @
b8ef51e
...
...
@@ -86,7 +86,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://daop-
lt-test.zgsjzc.com
/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
url
:
`https://daop-
zcgl-test.zgsjzc.com/circulation
/api/ms-data-circulation-portal-service/enterprise/detail-by-name`
,
method
:
'get'
,
params
})
...
...
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