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
028d237e
authored
2026-03-12 17:11:29 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改appkey接口
1 parent
0f95e2c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
default.conf
src/api/modules/queryService.ts
default.conf
View file @
028d237
...
...
@@ -29,11 +29,11 @@ server {
# idaas api
location
/
idaas
/ {
# resolver 169.254.25.10 valid=30s;
#
proxy_set_header Host $host;
#
proxy_set_header X-Real-IP $remote_addr;
#
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#
proxy_set_header X-Forwarded-Proto $scheme;
#
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
$
scheme
;
proxy_set_header
X
-
Forwarded
-
Port
$
server_port
;
proxy_pass
http
://
121
.
237
.
182
.
65
:
30390
/;
# 门户idaas http测试环境
}
...
...
src/api/modules/queryService.ts
View file @
028d237
...
...
@@ -3,7 +3,7 @@ import request from "@/utils/request";
/** 获取appKey */
export
const
getAppKey
=
()
=>
{
return
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_USER_API_BASEURL
}
/staff/get
AppK
ey`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_USER_API_BASEURL
}
/staff/get
-app-k
ey`
,
method
:
"get"
,
});
};
...
...
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