|
|
@@ -302,15 +302,15 @@ function checkHandleRequest() {
|
|
|
} else if (path.indexOf('/mall/resale/getSeriesList') > -1) {
|
|
|
// 产品类别
|
|
|
handleMarketSeriesList();
|
|
|
- } else if (path.indexOf('/mall/home/series')) {//无需登录
|
|
|
+ } else if (path.indexOf('/mall/home/series') > -1) {//无需登录
|
|
|
//首页数字资产和盲盒上新
|
|
|
handlerHomeSeriesInfo();
|
|
|
- } else if (path.indexOf('/mall/homepage/info')) {//无需登录
|
|
|
+ } else if (path.indexOf('/mall/homepage/info') > -1) {//无需登录
|
|
|
//首页信息,包括广告喇叭、banner上多个入口配置
|
|
|
handlerHomePageInfo();
|
|
|
- } else if (path.indexOf('/mall/application/getBasicInfo')) {//无需登录
|
|
|
+ } else if (path.indexOf('/mall/application/getBasicInfo') > -1) {//无需登录
|
|
|
//应用基础信息
|
|
|
- } else if (path.indexOf('/mall/collector/password/login')) {
|
|
|
+ } else if (path.indexOf('/mall/collector/password/login') > -1) {
|
|
|
//登录
|
|
|
handleLoginIndex();
|
|
|
}
|
|
|
@@ -434,7 +434,6 @@ function handlerHomeSeriesInfo(){
|
|
|
}
|
|
|
let otimeOffset = magicJS.data.read(HbcpreConstKey.openingTimeOffset, 60000);
|
|
|
let seriesList = rspData.data.list || [];
|
|
|
- magicJS.logger.error(JSON.stringify(seriesList));
|
|
|
for(let i=0; i < seriesList.length; i++){
|
|
|
const item = seriesList[i];
|
|
|
if(item.soldNum >= item.issueNum){
|