去掉固定的配置

This commit is contained in:
luchenqun 2019-06-11 17:22:28 +08:00
parent 3a37993ce1
commit 83ab8f7648
1 changed files with 0 additions and 10 deletions

View File

@ -6,16 +6,6 @@ try {
dbConfig = require('../config.default.js').dbConfig;
}
var dbConfig = {
host: '127.0.0.1',
user: 'test', // mysql的账号
password: '123456', // mysql 的密码
database: 'mybookmarks',
multipleStatements: true,
useConnectionPooling: true,
port: 3306
};
var client = mysql.createConnection(dbConfig);
Date.prototype.format = function(fmt) { //author: meizz