const path = require('path');
const config = {
    '/activityVist/addTimesForActivity': {
        data: './json/addTimesForActivity.json'
    },
    '/projectx/3/join_4/join.do': {
        data: './json/join.json'
    },
    '/projectx/3/join_2/times.do': {
        data: './json/times.json'
    },
    '/projectx/3/join_2/join.do': {
        data: './json/join_2.json'
    },
    '/projectx/3/join_2/exchange.do': {
        data: './json/exchange.json'
    },
    '/projectx/3/prize.query': {
        data: './json/prizeQuery.json'
    },
    '/projectx/3/join_1/list.do': {
        data: './json/listDo.json'
    },
    '/projectx/3/join_3/detail.do': {
        data: './json/detail.json'
    },
    '/projectx/3/join_3/join.do': {
        data: './json/join_3_join.json'
    },
}

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