Browse Source

fix debug error

Bay 5 years ago
parent
commit
be329f3759
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/config/db.js

+ 2 - 2
server/config/db.js

@@ -1,7 +1,7 @@
 const Sequelize = require('sequelize')
 
-// const sequelize = new Sequelize('mysql://root:123456@localhost:3306/seec_portal', {
-const sequelize = new Sequelize('mysql://root:NJU67mysql@172.29.7.180:3306/seec_portal', {
+const sequelize = new Sequelize('mysql://root:123456@localhost:3306/seec_portal', {
+// const sequelize = new Sequelize('mysql://root:NJU67mysql@172.29.7.180:3306/seec_portal', {
   define: { timestamps: false },
   timezone: '+08:00' // 东八时区
 })