|
@@ -16,8 +16,7 @@ const HDNumber = function () {
|
|
|
let ossUrl = config.CDN;
|
|
|
let fdkkURL = config.fdkkURL;
|
|
|
|
|
|
-
|
|
|
-const URL_FILL = config.urlFill
|
|
|
+const URL_FILL = config.urlFill;
|
|
|
/**
|
|
|
* 获取全景作品基本信息
|
|
|
* @param {*} data
|
|
@@ -25,7 +24,12 @@ 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(
|
|
|
+ `${ossUrl}/720yun_fd_manage/${number()}/someData.json?_=${Math.random()}`,
|
|
|
+ {},
|
|
|
+ ok,
|
|
|
+ no
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -34,8 +38,13 @@ export function getPanoInfo(ok, no) {
|
|
|
* @param {*} ok
|
|
|
* @param {*} no
|
|
|
*/
|
|
|
- export function getFdkkInfo(data, ok, no) {
|
|
|
- return http.get(`${fdkkURL}api/scene/getInfo?num=${data.num}&_=${Math.random()}`, {}, ok, no);
|
|
|
+export function getFdkkInfo(data, ok, no) {
|
|
|
+ return http.get(
|
|
|
+ `${fdkkURL}api/scene/getInfo?num=${data.num}&_=${Math.random()}`,
|
|
|
+ {},
|
|
|
+ ok,
|
|
|
+ no
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -45,5 +54,10 @@ 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(
|
|
|
+ `${URL_FILL}/web/common/checkWork/${number()}?visit=1111&val=0`,
|
|
|
+ {},
|
|
|
+ ok,
|
|
|
+ no
|
|
|
+ );
|
|
|
}
|