Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李俊赕
self-support
Commits
37309f88
Commit
37309f88
authored
Apr 29, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
七牛资源绝对路径
parent
647e391c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
.env.dev.js
.env.dev.js
+2
-1
.env.prod.js
.env.prod.js
+2
-1
.env.test.js
.env.test.js
+2
-1
index.js
src/plugins/uploader/index.js
+1
-1
No files found.
.env.dev.js
View file @
37309f88
...
@@ -8,6 +8,7 @@ const UNI_APP = {
...
@@ -8,6 +8,7 @@ const UNI_APP = {
apiUrl
:
'http://192.168.1.22'
,
//java端域名请求头
apiUrl
:
'http://192.168.1.22'
,
//java端域名请求头
// apiUrl: 'http://apidoc.banshouhui.com:3000/mock/31', // mock端域名请求头
// apiUrl: 'http://apidoc.banshouhui.com:3000/mock/31', // mock端域名请求头
},
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
,
,
qn_asset_url
:
'http://deudn.c.pp.cc/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
.env.prod.js
View file @
37309f88
...
@@ -7,7 +7,8 @@ const UNI_APP = {
...
@@ -7,7 +7,8 @@ const UNI_APP = {
systemUrl
:
{
systemUrl
:
{
apiUrl
:
'https://system.banshouhui.com'
,
//java端域名请求头
apiUrl
:
'https://system.banshouhui.com'
,
//java端域名请求头
},
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
,
qn_asset_url
:
'http://deudn.c.pp.cc/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
.env.test.js
View file @
37309f88
...
@@ -7,6 +7,7 @@ const UNI_APP = {
...
@@ -7,6 +7,7 @@ const UNI_APP = {
systemUrl
:
{
systemUrl
:
{
apiUrl
:
'https://system.dev.banshouhui.com'
,
//java端域名请求头
apiUrl
:
'https://system.dev.banshouhui.com'
,
//java端域名请求头
},
},
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
qn_base_url
:
'https://qn-static.banshouhui.com/self-support/'
,
qn_asset_url
:
'http://deudn.c.pp.cc/'
}
}
module
.
exports
=
UNI_APP
;
module
.
exports
=
UNI_APP
;
src/plugins/uploader/index.js
View file @
37309f88
...
@@ -39,7 +39,7 @@ uploader.getQnToken = function(params) {
...
@@ -39,7 +39,7 @@ uploader.getQnToken = function(params) {
*region: 地区 默认为:ECN
*region: 地区 默认为:ECN
*/
*/
resolve
({
resolve
({
visitPrefix
:
data
.
host
||
''
,
visitPrefix
:
data
.
host
||
globalUrl
.
qn_asset_url
,
token
:
data
.
token
||
''
,
token
:
data
.
token
||
''
,
folderPath
:
data
.
folderPath
||
''
,
folderPath
:
data
.
folderPath
||
''
,
region
:
"ECN"
region
:
"ECN"
...
...
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