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
4934d75e
authored
2025-01-24 19:15:46 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
访问流通平台
1 parent
27fd4d52
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
.env.development
.env.product
default.conf
src/api/modules/queryService.ts
.env.development
View file @
4934d75
...
...
@@ -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
...
...
.env.product
View file @
4934d75
...
...
@@ -117,7 +117,7 @@ VITE_API_MESSAGE = ms-daop-message-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_APP_DATA_DELIVERY = https://daop-jgjf-test.zgsjzc.com/
...
...
default.conf
View file @
4934d75
...
...
@@ -60,7 +60,7 @@ server {
add_header
Cache
-
Control
private
;
# 使用 rewrite 将 /circulation 替换为 /new-api
rewrite
^/
api
/(.*)$ /$
1
break
;
rewrite
^/
circulation
/(.*)$ /$
1
break
;
proxy_pass
https
://
daop
-
lt
-
test
.
zgsjzc
.
com
;
}
location
/
delivery
{
...
...
src/api/modules/queryService.ts
View file @
4934d75
...
...
@@ -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-zcgl-test.zgsjzc.com/circulation/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