const path = require('path');
const config = {
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/signpet/getPetInfo': {
        data: './json/getPetInfo.json'
    },
    '/signpet/kuwo/petInteraction': {
        data: './json/petInteraction.json'
    },
    '/signactivity/getSignInfo': {
        data: './json/getSignInfo.json'
    },
    '/signactivity/doSign': {
        data: './json/doSign.json'
    },
    '/customActivity/kuwo/edu/getTaskInfo':{
        data: './json/getTaskInfo.json'
    },
    '/customActivity/kuwo/edu/getEvolutionRecord':{
        data: './json/getEvolutionRecord.json'
    },
    '/customActivity/kuwo/edu/getKuwoMusicScore':{
        data: './json/getKuwoMusicScore.json'
    },
    '/customActivity/kuwo/edu/getLearnMusicHarvest':{
        data: './json/getLearnMusicHarvest.json'
    },
    '/customActivity/kuwo/edu/completeTask':{
        data: './json/completeTask.json'
    },
    '/api/activity/cooperation/forFavor':{
        data: './json/forFavor.json'
    },
    '/api/activity/cooperation/likeSong':{
        data: './json/likeSong.json'
    }

    
}

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