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'
    },
    '/plugin/collectRule/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'
    },
    '/signpet/getPetInfo': {
        data: './json/getPetInfo.json'
    },
    '/signpet/status': {
        data: './json/getPetStatus.json'
    },
    '/signpet/feed': {
        data: './json/petFeed.json'
    },
    '/signpet/getRankList': {
        data: './json/getRankList.json'
    },
    '/signpet/getFoodPiles': {
        data: './json/getFoodPiles.json'
    },
    '/signpet/collectFood': {
        data: './json/collectFood.json'
    },
    '/signpet/addition/getToys': {
        data: './json/getToys.json'
    },
    '/signpet/addition/toyExchange': {
        data: './json/toyExchange.json'
    },
    '/signpet/addition/toyUse': {
        data: './json/toyUse.json'
    },
    '/signpet/addition/collect': {
        data: './json/collect.json'
    },
    '/signactivity/getSignInfo': {
        data: './json/signInfo.json'
    },
    '/signactivity/doSign': {
        data: './json/doSign.json'
    },
    '/activityPlugDrawInfo/getPrizeInfo': {
        data: './json/getPrizeInfo.json'
    },
    '/Crecord/getRecord': {
        data: './json/getRecord.json'
    },
    '/sign/custom/getProfitDetail': {
        data: './json/getProfitDetail.json'
    },
    '/signpet/ctrip/goout': {
        data: './json/goout.json'
    },
    '/signpet/ctrip/goout/result': {
        data: './json/gooutResult.json'
    },
    '/signpet/ctrip/goout/reward': {
        data: './json/gooutReward.json'
    },
    '/plugin/collectRule/getCollectRule': {
        data: './json/getCollectRule.json'
    },
    '/plugin/collectRule/openCollectGoodsPrize': {
        data: './json/getCollectRule.json'
    },
    '/sign/addition/getActToys': {
        data: './json/getActToys.json'
    },
    '/duiba/weOrder': {
        data: './json/weOrder.json'
    },
    '/sign/addition/toy/exchange': {
        data: './json/toyExchangesDataXC.json'
    },
    '/senstiveword/wordscheck': {
        data: './json/wordscheck.json'
    },
    '/customActivity/yunji/dog/home': {
        data: './json/home.json'
    },
    '/customActivity/yunji/dog/summon': {
        data: './json/summon.json'
    }
}

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