Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks-h5
Commits
e5bafaa9
Commit
e5bafaa9
authored
May 10, 2022
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 查询导航接口改为异步,并使用H5网关转发
parent
6a45e841
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
2 deletions
+6
-2
navigator.api.ts
app/web/api/navigator.api.ts
+1
-1
dev.config.ts
app/web/config/dev.config.ts
+1
-0
prod.config.ts
app/web/config/prod.config.ts
+1
-0
test.config.ts
app/web/config/test.config.ts
+1
-0
apollo.json
config/apollo.json
+1
-0
apollo.ssr.json
config/apollo.ssr.json
+1
-1
No files found.
app/web/api/navigator.api.ts
View file @
e5bafaa9
...
@@ -3,6 +3,6 @@ import config from '../config';
...
@@ -3,6 +3,6 @@ import config from '../config';
export
default
{
export
default
{
getDetailById
(
params
)
{
getDetailById
(
params
)
{
return
http
.
get
(
`
${
config
.
apiHost
}
/navigator/detail?navId=
${
params
}
`
);
return
http
.
get
(
`
${
config
.
xyqbH5Host
}
/quantumBlocks
/navigator/detail?navId=
${
params
}
`
);
}
}
};
};
\ No newline at end of file
app/web/config/dev.config.ts
View file @
e5bafaa9
...
@@ -7,6 +7,7 @@ const hostMap = {
...
@@ -7,6 +7,7 @@ const hostMap = {
kdspHost
:
`
${
protocol
}
//kdsp-api-test1.liangkebang.net`
,
kdspHost
:
`
${
protocol
}
//kdsp-api-test1.liangkebang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
mallHost
:
`
${
protocol
}
//mall-test1.liangkebang.net`
,
mallHost
:
`
${
protocol
}
//mall-test1.liangkebang.net`
,
xyqbH5Host
:
`
${
protocol
}
//mapi-test1.liangkebang.net`
,
test
:
true
,
test
:
true
,
yxmTenantId
:
560761
,
yxmTenantId
:
560761
,
appIdMap
:
{
appIdMap
:
{
...
...
app/web/config/prod.config.ts
View file @
e5bafaa9
...
@@ -8,6 +8,7 @@ const hostMap = {
...
@@ -8,6 +8,7 @@ const hostMap = {
kdspHost
:
`
${
protocol
}
//kdsp-api.q-gp.com`
,
kdspHost
:
`
${
protocol
}
//kdsp-api.q-gp.com`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
mallHost
:
`
${
protocol
}
//mall.q-gp.com`
,
mallHost
:
`
${
protocol
}
//mall.q-gp.com`
,
xyqbH5Host
:
`
${
protocol
}
//mapi.q-gp.com`
,
test
:
false
,
test
:
false
,
yxmTenantId
:
560761
,
yxmTenantId
:
560761
,
appIdMap
:
{
appIdMap
:
{
...
...
app/web/config/test.config.ts
View file @
e5bafaa9
...
@@ -7,6 +7,7 @@ const hostMap = {
...
@@ -7,6 +7,7 @@ const hostMap = {
kdspHost
:
`
${
protocol
}
//kdsp-api-test1.liangkebang.net`
,
kdspHost
:
`
${
protocol
}
//kdsp-api-test1.liangkebang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
mallHost
:
`
${
protocol
}
//mall-test1.liangkebang.net`
,
mallHost
:
`
${
protocol
}
//mall-test1.liangkebang.net`
,
xyqbH5Host
:
`
${
protocol
}
//mapi-test1.liangkebang.net`
,
test
:
true
,
test
:
true
,
yxmTenantId
:
560761
,
yxmTenantId
:
560761
,
appIdMap
:
{
appIdMap
:
{
...
...
config/apollo.json
View file @
e5bafaa9
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
"loginUrl"
:
""
,
"loginUrl"
:
""
,
"h5ShopHost"
:
"https://tenet-qa.liangkebang.net/#"
,
"h5ShopHost"
:
"https://tenet-qa.liangkebang.net/#"
,
"mallHost"
:
"https://mall-qa.liangkebang.net"
,
"mallHost"
:
"https://mall-qa.liangkebang.net"
,
"xyqbH5Host"
:
"https://mapi-qa.liangkebang.net"
,
"yxmTenantId"
:
560761
,
"yxmTenantId"
:
560761
,
"appIdMap"
:
{
"appIdMap"
:
{
"560761"
:
"wxe16bf9293671506c"
,
"560761"
:
"wxe16bf9293671506c"
,
...
...
config/apollo.ssr.json
View file @
e5bafaa9
{
"apiHost"
:
"https://quantum-blocks-qa.liangkebang.net","h5Host"
:
"https://quantum-h5-qa.liangkebang.net","opapiHost"
:
"https://opapi-qa.liangkebang.net","passportHost"
:
"https://passportapi-qa.liangkebang.net","talosHost"
:
"https://talos-qa.liangkebang.net","kdspHost"
:
"https://kdsp-api-qa.liangkebang.net","loginUrl"
:
"","h5ShopHost"
:
"https://tenet-qa.liangkebang.net/#","mallHost"
:
"https://mall-qa.liangkebang.net","yxmTenantId"
:
560761
,
"appIdMap"
:{
"560761"
:
"wxe16bf9293671506c","560867"
:
"wxccb8435d68e8c7d6"},"qiniuUpHost"
:
"https://up-z0.qiniup.com","qiniuHost"
:
"https://appsync.lkbang.net"
}
{
"apiHost"
:
"https://quantum-blocks-qa.liangkebang.net","h5Host"
:
"https://quantum-h5-qa.liangkebang.net","opapiHost"
:
"https://opapi-qa.liangkebang.net","passportHost"
:
"https://passportapi-qa.liangkebang.net","talosHost"
:
"https://talos-qa.liangkebang.net","kdspHost"
:
"https://kdsp-api-qa.liangkebang.net","loginUrl"
:
"","h5ShopHost"
:
"https://tenet-qa.liangkebang.net/#","mallHost"
:
"https://mall-qa.liangkebang.net","xyqbH5Host"
:
"https://mapi-qa.liangkebang.net","yxmTenantId"
:
560761
,
"appIdMap"
:{
"560761"
:
"wxe16bf9293671506c","560867"
:
"wxccb8435d68e8c7d6"},"qiniuUpHost"
:
"https://up-z0.qiniup.com","qiniuHost"
:
"https://appsync.lkbang.net"
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment