'use strict'; module.exports = () => { const config = (exports = {}); config.logger = { level: 'INFO', consoleLevel: 'INFO', }; // http请求前缀 config.httpPrefix = { wechat: 'http://localhost:14001/wechat/api', }; // config.dbName = 'new-platform'; // config.mongoose = { // url: `mongodb://localhost:27017/${config.dbName}`, // options: { // user: 'admin', // pass: 'admin', // authSource: 'admin', // useNewUrlParser: true, // useCreateIndex: true, // }, // }; // // redis config // config.redis = { // client: { // port: 6379, // Redis port // host: '127.0.0.1', // Redis host // password: 123456, // db: 0, // }, // }; // config.export = { // root_path: 'D:\\free\\workspace\\server\\service-file\\upload', // export_path: 'D:\\free\\workspace\\server\\service-file\\upload\\export', // export_dir: 'export', // patentInfo_dir: 'patentInfo', // domain: 'http://127.0.0.1', // }; // config.import = { // root_path: 'D:\\free\\workspace\\server\\service-file\\upload', // }; return config; };