egg.js框架之egg-sequelize时差问题

2018-05-07

/* egg-sequelize */
exports.sequelize = {
    dialect: 'mysql',
    database: '',
    host: '',
    port: '',
    username: '',
    password: '',
    timezone: '+08:00' //东八时区
};

Tags: nodejs