const path = require('path');
const config = {
    // 首页
    '/projectx/1/join_1/index.do': {
        data: './weidian/index.json'
    },
    // 查询任务列表
    '/projectx/1/invite_2/list.do': {
        data: './weidian/getTaskInfo.json'
    },
    // 开店接口
    '/projectx/1/join_1/join.do': {
        data: './weidian/openStore.json'
    },
    // 查询装修店铺信息
    '/projectx/1/join_2/getEquipments.do': {
        data: './weidian/getEquipments.json'
    },
    // 设备收获金币接口
    '/projectx/1/join_10/join.do': {
        data: './weidian/receiveGold.json'
    },
    // 服务员收获金币接口
    '/projectx/1/join_7/join.do': {
        data: './weidian/updateGold.json'
    },
    // 购买升级设备
    '/projectx/1/join_2/join.do': {
        data: './weidian/upgrade.json'
    },
    // 缴费信息
    '/projectx/1/join_3/query.do': {
        data: './weidian/updateGold.json'
    },
    // 打鸡血
    '/projectx/1/join_5/accelerate.do': {
        data: './weidian/addSpeed.json'
    },
    // 好友列表
    '/projectx/1/invite_2/queryFriendInfo.do': {
        data: './weidian/getFriendsInfo.json'
    },
    // 好友详情
    '/projectx/1/invite_2/queryFriendDetail.do': {
        data: './weidian/getFriendDetail.json'
    },
    // 偷好友金币
    '/projectx/1/invite_2/stealFriendGold.do': {
        data: './weidian/stealFriendGold.json'
    },
    // 店铺列表
    '/projectx/1/join_8/queryBrandInfo.do': {
        data: './weidian/getShopsInfo.json'
    },
    // 店铺详情
    '/projectx/1/join_8/queryShopDetail.do': {
        data: './weidian/getShopDetail.json'
    },
    // 店铺是否可偷取
    '/projectx/1/join_8/join.do': {
        data: './weidian/getShopStatus.json'
    },
    // 偷取商店金币
    '/projectx/1/join_8/stealShopGold.do': {
        data: './weidian/stealShopGold.json'
    },
    // 查询缴费信息
    '/projectx/1/join_3/query.do': {
        data: './weidian/getPayCount.json'
    },
    // 参与缴费
    '/projectx/1/join_3/join.do': {
        data: './weidian/Pay.json'
    },
    // 查询兑换信息
    '/projectx/1/join_9/list.do': {
        data: './weidian/exchangeList.json'
    },
    // 兑换链接
    '/projectx/1/join_1/detail.do': {
        data: './weidian/getJumpUrl.json'
    },
    // 兑换
    '/projectx/1/join_9/join.do': {
        data: './weidian/exchange.json'
    },
    // 抢单金币
    '/projectx/1/join_4/queryGrabSheetGold.do': {
        data: './weidian/getVieGold.json'
    },
    // 抢单
    '/projectx/1/join_4/grabSheet.do': {
        data: './weidian/getVie.json'
    },
    // 抢单提交 
    '/projectx/1/join_4/getDiamond.do': {
        data: './weidian/postVie.json'
    },
    // 签到
    '/projectx/1/join_6/join.do': {
        data: './weidian/doSign.json'
    },
    //查询兑换奖品
    '/projectx/1/records.query': {
        data: './weidian/getrecord.json'
    },
    // 
    '/projectx/1/prize.query': {
        data: './weidian/getPrize.json'
    },
    // 查询分享码
    '/projectx/1/invite_2/genInvite.do': {
        data: './weidian/getInvite.json'
    },
    //完成分享
    '/projectx/1/invite_2/share.do': {
        data: './weidian/goShare.json'
    },
    //分享领金币
    "/projectx/1/invite_2/takeShare.do": {
        data: './weidian/doShare.json'
    },
    "/ctool/getProjectUserInfo": {
        data: './weidian/getProjectUserInfo.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'
    },
    '/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;