|
@@ -13,11 +13,6 @@ const HDNumber = function () {
|
|
|
return config.hengdaNum;
|
|
|
};
|
|
|
|
|
|
-let ossUrl = config.CDN;
|
|
|
-let fdkkURL = config.fdkkURL;
|
|
|
-
|
|
|
-
|
|
|
-const URL_FILL = config.urlFill
|
|
|
/**
|
|
|
* 获取全景作品基本信息
|
|
|
* @param {*} data
|
|
@@ -25,7 +20,7 @@ const URL_FILL = config.urlFill
|
|
|
* @param {*} no
|
|
|
*/
|
|
|
export function getPanoInfo(ok, no) {
|
|
|
- return http.get(`${ossUrl}/720yun_fd_manage/${number()}/someData.json?_=${Math.random()}`, {}, ok, no);
|
|
|
+ return http.get(`${process.env.VUE_APP_CDN}/720yun_fd_manage/${number()}/someData.json?_=${Math.random()}`, {}, ok, no);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -35,7 +30,7 @@ export function getPanoInfo(ok, no) {
|
|
|
* @param {*} no
|
|
|
*/
|
|
|
export function getFdkkInfo(data, ok, no) {
|
|
|
- return http.get(`${fdkkURL}api/scene/getInfo?num=${data.num}&_=${Math.random()}`, {}, ok, no);
|
|
|
+ return http.get(`${process.env.VUE_APP_PROXY_URL_ROOT}/api/scene/getInfo?num=${data.num}&_=${Math.random()}`, {}, ok, no);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -45,5 +40,5 @@ export function getPanoInfo(ok, no) {
|
|
|
* @param {*} no
|
|
|
*/
|
|
|
export function checkWork(ok, no) {
|
|
|
- return http.get(`${URL_FILL}/web/common/checkWork/${number()}?visit=1111`, {}, ok, no);
|
|
|
+ return http.get(`${process.env.VUE_APP_URL_FILL}/web/common/checkWork/${number()}?visit=1111`, {}, ok, no);
|
|
|
}
|