const path = require('path');
const config = {
    '/aaw/music/category': {
        data: './aaw/music/category.json'
    },
    '/aaw/music/item': {
        data: './aaw/music/item.json'
    },
    '/aaw/music/report': {
        data: './aaw/music/report.json'
    },

    '/hdtool/rank/recentRankListNew': {
        data: './recentRankListNew.json'
    },
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/ngapi/getUserTotalScore': {
        data: './json/getUserTotalScore.json'
    },
    '/ctool/getCredits': {
        data: './json/getCredits.json'
    },
    '/activityPlugDrawInfo/doJoinPlugdraw': {
        data: './json/doJoinPlugdraw.json'
    },
    '/plugin/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/collectRule/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },

    '/activityPlugDrawInfo/getPrizeInfo': {
        data: './json/getPlugDrawPrizeInfo.json'
    },
   
    // 活动工具新游戏
    '/hdtool/rank/rankList': {
        data: './rankList.json'
    },
    '/hdtool/recon/ajaxElement': {
        data: './json/ajaxElement.json'
    },
    '/hdtool/recon/doJoin': {
        data: './json/doJoin.json'
    },
    '/hdtool/recon/getOrderStatus': {
        data: './json/getOrderStatus.json'
    },
    '/hdtool/recon/ngame/getNgameStartStatus': {
        data: './json/getNgameStartStatus.json'
    },
    '/hdtool/recon/ngame/ngameSubmit': {
        data: './json/ngameSubmit.json'
    },
    '/hdtool/recon/ngame/datapash': {
        data: './datapash.json'
    },
    '/hdtool/recon/ngame/resurrection': {
        data: './resurrection.json'
    },
    '/hdtool/recon/ngame/resurrectionStatus': {
        data: './resurrectionStatus.json'
    }

}

for (let item in config) {
    if (config.hasOwnProperty(item))
        config[item].path = path.resolve(__dirname, config[item].data);
}
module.exports = config;