const path = require('path');
const config = {
    //首页接口
    "/projectx/projectId/join_1/getHomeInfo.do": {
        data: './new/home.json'
    },
    //参与游戏
    "/projectx/projectId/join_1/join.do": {
        data: './new/doJoin.json'
    },
    //抽奖
    "/projectx/projectId/join_2/join.do": {
        data: './new/submit.json'
    },
    //查询奖品信息
    "/projectx/projectId/prize.query":{
        data: './new/getPrizeInfo.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'
    },
    '/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'
    }
}

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