You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export default {
|
|
|
|
// 主服务
|
|
|
|
master: {
|
|
|
|
systemName: '心曲Tune',
|
|
|
|
host: '0.0.0.0',
|
|
|
|
port: '3000',
|
|
|
|
},
|
|
|
|
swagger: {
|
|
|
|
enable: true,
|
|
|
|
},
|
|
|
|
dev: {
|
|
|
|
// 开发模式拦截器,用以提供接口请求时间和响应大小
|
|
|
|
devInterceptor: true,
|
|
|
|
},
|
|
|
|
log: {
|
|
|
|
level: 'all',
|
|
|
|
},
|
|
|
|
databases: {
|
|
|
|
starLight: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 3306,
|
|
|
|
username: 'root',
|
|
|
|
password: 'Hxl1314521',
|
|
|
|
database: 'Starlight',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
redis: {
|
|
|
|
starLight: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 6379,
|
|
|
|
username: 'default',
|
|
|
|
password: 'default',
|
|
|
|
dbNumber: 3,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
email: {
|
|
|
|
host: 'smtp.qq.com',
|
|
|
|
user: 'togy.gc@qq.com',
|
|
|
|
pass: 'miidbsjeuqcxddbf',
|
|
|
|
},
|
|
|
|
// 加密
|
|
|
|
encryption: {
|
|
|
|
salt: 'время,вперёд!', // 盐
|
|
|
|
secretKey: 'быть всегда готовым!', // 密钥
|
|
|
|
},
|
|
|
|
token: {
|
|
|
|
timeout: 1000 * 60 * 60 * 24 * 7,
|
|
|
|
secretKey: 'Missing You!(John waite)',
|
|
|
|
},
|
|
|
|
};
|