const path = require('path');
const config = {
    '/activityCommon/getRole': {
        data: './json/getRole.json'
    },
    '/signpet/getPetsInfo': {
        data: './json/getPetsInfo.json'
    },
}

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