心曲
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.
tune/config/production.ts

58 lines
1.3 KiB

export default {
// 主服务
master: {
systemName: '心曲Tune',
host: '127.0.0.1',
port: '3000',
},
swagger: {
enable: false,
},
dev: {
// 开发模式拦截器,用以提供接口请求时间和响应大小
devInterceptor: false,
},
log: {
level: 'info',
},
databases: {
starLight: {
host: 'localhost',
port: 3306,
username: 'root',
password: 'Hxl1314521',
database: 'Starlight',
},
},
2 years ago
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)',
},
// 登录
signIn: {
// @ 密码验证次数超限后的冷却时长
signInErrorTimeout: 60 * 10,
// @ 允许密码输错几次
signInErrorNumber: 5,
},
};