Commit 37309f88 authored by Damon's avatar Damon

七牛资源绝对路径

parent 647e391c
...@@ -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;
...@@ -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;
...@@ -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;
...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment