diff --git a/server.js b/server.js index b5822e9..673647b 100644 --- a/server.js +++ b/server.js @@ -47,7 +47,7 @@ function back(){ /** * 数据库备份程序 * */ - function backSQL(host, user, passwd, database){ + function backSQL(user, passwd, database){ return new Promise(rec => { const cout = os.platform() == 'win32' ? '-r' : '>' , filename = `back/BACKUP_${ database }_${ moment().format("YYYY_MM_DD_HH_mm_ss") }.sql`