...
|
...
|
@@ -45,7 +45,7 @@ function getKeyActivityAsync(query) { |
|
|
data: {
|
|
|
method: 'app.search.word',
|
|
|
query: query
|
|
|
}, params: {
|
|
|
}, param: {
|
|
|
catch: true,
|
|
|
code: 200
|
|
|
}
|
...
|
...
|
@@ -143,7 +143,7 @@ function getSeoProductList(params, from) { |
|
|
}
|
|
|
|
|
|
function getSortListOrig(finalParams) {
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -221,7 +221,7 @@ function getSortIntro(params) { |
|
|
};
|
|
|
|
|
|
Object.assign(finalParams, params);
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -234,7 +234,7 @@ function getSortAds(params) { |
|
|
};
|
|
|
|
|
|
Object.assign(finalParams, params);
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -256,7 +256,7 @@ function getBrandShopSeries(params) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -278,7 +278,7 @@ function getBrandShopFolder(params) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -292,7 +292,7 @@ function getNodeContent(params) { |
|
|
node: params.node || ''
|
|
|
};
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -306,7 +306,7 @@ function getWeekNew(params) { |
|
|
};
|
|
|
|
|
|
Object.assign(finalParams, params);
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: {cache: config.apiCache}});
|
|
|
}
|
|
|
|
|
|
function getBrandCouponAsync(brandId, uid) {
|
...
|
...
|
@@ -321,7 +321,7 @@ function getBrandCouponAsync(brandId, uid) { |
|
|
method: 'app.brand.getBrandIntro',
|
|
|
brand_id: brandId,
|
|
|
uid: uid
|
|
|
}, params: extra
|
|
|
}, param: extra
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -334,7 +334,7 @@ function getBrandShop(query) { |
|
|
method: 'web.search.shopListInfo'
|
|
|
};
|
|
|
|
|
|
return this.get({data: Object.assign(finalParams, {keyword: query}), params: {cache: config.apiCache}});
|
|
|
return this.get({data: Object.assign(finalParams, {keyword: query}), param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -401,7 +401,7 @@ function getSuggest(params) { |
|
|
keyword: params.keyword || ''
|
|
|
};
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -415,7 +415,7 @@ function getBrandData(params) { |
|
|
domain: params.domain || ''
|
|
|
};
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -444,7 +444,7 @@ function getShopInfo(shopId, uid) { |
|
|
uid: uid || 0
|
|
|
};
|
|
|
|
|
|
return this.get({data: finalParams, params: {cache: config.apiCache}});
|
|
|
return this.get({data: finalParams, param: config.apiCache});
|
|
|
|
|
|
}
|
|
|
|
...
|
...
|
@@ -454,7 +454,7 @@ function getShopInfo(shopId, uid) { |
|
|
function getShopBrands(shopId) {
|
|
|
return this.get({
|
|
|
data: {method: 'app.shops.getShopsBrands', shop_id: shopId || 0},
|
|
|
params: {cache: config.apiCache}
|
|
|
param: config.apiCache
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -464,7 +464,7 @@ function getShopBrands(shopId) { |
|
|
function getShopDecorator(shopId) {
|
|
|
return this.get({
|
|
|
data: {method: 'app.shopsdecorator.getList', shop_id: shopId || 0},
|
|
|
params: {cache: config.apiCache}
|
|
|
param: config.apiCache
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|