const path = require('path');
const config = {
    //滑块验证提交,用的还是ngameSubmit的数据
    '/hdtool/recon/ngame/ngameSlideSubmit': {
        data: './json/ngameSubmit.json'
    },
    //获取滑块id
    '/aaw/activityValidate/getCaptchId': {
        data: './json/getCaptchId.json'
    },
    //云米商城-获取用户当日已参与活动次数
    '/customActivity/yunmi/getJoinTimes': {
        data: './json/getJoinTimes.json'
    },
    //云米商城-游戏排行榜,用户中奖通知消息弹窗判断接口
    '/customActivity/yunmi/firstNoticeOfWinning': {
        data: './json/firstNoticeOfWinning.json'
    },
    //云米商城-获取时间段内累计加次数，累计助力人数
    '/customActivity/yunmi/getAddTimesCount': {
        data: './json/getAddTimesCount.json'
    },
    //排行榜奖品信息，开始时间，开奖时间
    '/hdtool/rank/rankInfo': {
        data: './json/rankInfo.json'
    },
    //获取活动hdToolId绑定的排行榜
    '/hdtool/rank/rankAndActivityInfo': {
        data: './json/rankAndActivityInfo.json'
    },
    '/hdtool/rank/recentRankListNew': {
        data: './json/recentRankListNew.json'
    },
    '/hdtool/recon/ngame/ngameManySubmit': {
        data: './json/ngameManySubmit.json'
    },
    '/hdtool/recon/ngame/ngameSubmit': {
        data: './json/ngameSubmit.json'
    },
    '/hdtool/recon/ajaxElement': {
        data: './json/ajaxElement.json'
    },
    '/hdtool/recon/getOrderStatus': {
        data: './json/getOrderStatus.json'
    },
    '/hdtool/recon/doJoin': {
        data: './json/doJoin.json'
    },
    '/hdtool/recon/ngame/getNgameStartStatus': {
        data: './json/getNgameStartStatus.json'
    },
    '/plugin/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/customActivity/face/qq': {
        data: './json/plugDrawInfo.json'
    },
    '/plugin/plugDrawInfo': {
        data: './json/plugDrawInfo.json'
    },
    '/collectRule/getAllCards': {
        data: './json/getAllCards.json'
    },
    '/aaw/youku/dunk/getToken': {
        data: './json/getToken.json'
    },
    '/aaw/youku/dunk/submit': {
        data: './json/submitNew.json'
    },
    '/aaw/youku/dunk/decrRewardTimes': {
        data: './json/decrRewardTimes.json'
    },
    '/aaw/youku/dunk/markReward': {
        data: './json/markReward.json'
    },
    '/aaw/youku/dunk/getRankInfo': {
        data: './json/getRankInfo.json'
    },
    '/aaw/youku/dunk/getUserInfo': {
        data: './json/getUserInfo.json'
    },
    '/ngapi/rank': {
        data: './json/rank.json'
    },
    '/collectRule/getCollectRule': {
        data: './json/getCollectRule.json'
    },
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/ngapi/getUserTotalScore': {
        data: './json/getUserTotalScore.json'
    },
    '/ctool/getCredits': {
        data: './json/getCredits.json'
    },
    '/ngame/new/getInfo': {
        data: './json/getInfo.json'
    },
    '/ngapi/dostart': {
        data: './json/dostart.json'
    },
    '/ngapi/getStartStatus': {
        data: './json/getStartStatus.json'
    },
    '/ngame/new/submit': {
        data: './json/gameSubmit.json'
    },
    '/ngame/new/getSubmitResult': {
        data: './json/getGameSubmitResult.json'
    },
    '/ngapi/winranks': {
        data: './json/winranks.json'
    },
    '/ngapi/getOptions': {
        data: './json/getOptions.json'
    },
    '/ngapi/getRule': {
        data: './json/getRule.json'
    },
    '/activityVist/addTimesForActivity': {
        data: './json/addTimesForActivity.json'
    },
    '/collectGoods/getCollectGoodsInfo': {
        data: './json/getCollectGoodsInfo.json'
    },
    '/ngapi/realtimerank/0': {
        data: './json/realtimerank.json'
    },
    '/ngapi/realtimerank/1': {
        data: './json/realtimerank2.json'
    },
    '/activityPlugDrawInfo/doJoinPlugdraw': {
        data: './json/doJoinPlugdraw.json'
    },
    '/collectRule/getOrderStatus': {
        data: './json/getPlugOrderStatus.json'
    },
    '/activityCommon/setRole': {
        data: './json/setRole.json'
    },
    '/hdtool/ajaxElement': {
        data: './json/ajaxElement.json'
    },
    '/hdtool/ajaxThroughInfo': {
        data: './json/ajaxThroughInfo.json'
    },
    '/hdtool/doJoin': {
        data: './json/doJoin.json'
    },
    '/hdtool/getOrderStatus': {
        data: './json/getCustomOrderStatus.json'
    },
    '/hdtool/getOrderInfo': {
        data: './json/getOrderInfo.json'
    },
    '/hdtool/submit': {
        data: './json/customSubmit.json'
    },
    '/ngapi/guessPoker': {
        data: './json/guessPoker.json'
    },
    '/activityPlugin/optionInfo': {
        data: './json/optionInfo.json'
    },
    '/activityPlugin/unblocking': {
        data: './json/unblocking.json'
    },
    '/ngame/new/datapash': {
        data: './json/datapash.json'
    }
}

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