const path = require('path');
const config = {
    '/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'
    },
    '/plugin/getOrderStatus': {
        data: './json/getPlugOrderStatus.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'
    },
    '/summer/doRevive': {
        data: './json/doRevive.json'
    },
    '/summer/getReviveCardNum': {
        data: './json/getReviveCardNum.json'
    },
    '/summer/getUserActivityInfo': {
        data: './json/getSummerInfo.json'
    },
    '/summer/buyProp': {
        data: './json/buySummerProp.json'
    },
    '/summer/getToyInfo': {
        data: './json/getSummerToyInfo.json'
    },
    '/summer/getOrderStatus': {
        data: './json/getSummerOrderStatus.json'
    },
    '/senstiveword/wordscheck': {
        data: './json/wordsCheck.json'
    },
    '/aaw/watsons/valentine/getInfo': {
        data: './json/getValentineInfo.json'
    },
    '/aaw/watsons/valentine/chooseCamp': {
        data: './json/chooseCamp.json'
    },
    '/aaw/watsons/valentine/submit': {
        data: './json/submitScore.json'
    },
    '/aaw/watsons/valentine/doJoin': {
        data: './json/valentineDoJoin.json'
    },
    '/activityPlugDrawInfo/getPrizeInfo': {
        data: './json/getPlugDrawPrizeInfo.json'
    },
    '/kjy/mp/activity/sendInfo': {
        data: './json/sendInfo.json'
    },
    '/kjy/mp/activity/updateDuration': {
        data: './json/updateDuration.json'
    },
    '/kjy/mp/activity/generatorActivityQrCode': {
        data: './json/getQRCode.json'
    },
    // 活动工具新游戏
    '/hdtool/rank/rankList': {
        data: './newGame/rankList.json'
    },
    '/hdtool/recon/ajaxElement': {
        data: './newGame/ajaxElement.json'
    },
    '/hdtool/recon/doJoin': {
        data: './newGame/doJoin.json'
    },
    '/hdtool/recon/getOrderStatus': {
        data: './newGame/getOrderStatus.json'
    },
    '/hdtool/recon/ngame/getNgameStartStatus': {
        data: './newGame/getNgameStartStatus.json'
    },
    '/hdtool/recon/ngame/ngameSubmit': {
        data: './newGame/ngameSubmit.json'
    },
    '/hdtool/recon/ngame/ngameManySubmit': {
        data: './newGame/ngameManySubmit.json'
    },
    '/hdtool/recon/ngame/datapash': {
        data: './newGame/datapash.json'
    },
    '/hdtool/recon/ngame/resurrection': {
        data: './newGame/resurrection.json'
    },
    '/hdtool/recon/ngame/resurrectionStatus': {
        data: './newGame/resurrectionStatus.json'
    },

    '/aaw/changshaCmb/shrimpFishing/index': {
        data: './customization/shrimpFishingIndex.json'
    },
    // 签到养成
    '/signpet/configs': {
        data: './json/petConfigs.json'
    },
    '/signpet/getPetsInfo': {
        data: './json/getPetsInfo.json'
    },
    '/signpet/getPetInfo': {
        data: './json/getPetInfo.json'
    },
    '/signactivity/getSignInfo': {
        data: './json/signInfo.json'
    },
    '/signpet/adopte': {
        data: './json/adopte.json'
    },
    '/plugin/credits/answer': {
        data: './customization/answer.json'
    },
    '/signactivity/doSign': {
        data: './json/doSign.json'
    },
    // 集卡
    '/plugin/collectRule/getCollectRule': {
        data: './json/getCollectRule.json'
    },
    '/plugin/collectRule/openCollectGoodsPrize': {
        data: './json/openCollectGoodsPrize.json'
    },
    // 海底捞火锅养成定制接口
    '/customActivity/haidilao/signpet/adopte': {
        data: './json/adopte.json'
    },
    '/activity_winner/winners': {
        data: './customization/winners.json'
    },
    '/customActivity/haidilao/signpet/takePrize': {
        data: './customization/collectSoup.json'
    },
    '/customActivity/task/queryTaskList': {
        data: './json/queryTaskList.json'
    },
    '/customActivity/haidilao/signpet/task/list': {
        data: './customization/taskList.json'
    },
    '/customActivity/haidilao/signpet/task/takePrize': {
        data: './customization/takePrize.json'
    },
    '/customActivity/haidilao/signpet/feed': {
        data: './json/feed.json'
    },
    '/signactivity/getSignResult': {
        data: './json/getSignResult.json'
    }

}

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