lsc 1 year ago
parent
commit
d94621d8a3
2 changed files with 4 additions and 4 deletions
  1. 2 2
      mysql.js
  2. 2 2
      pbl.js

+ 2 - 2
mysql.js

@@ -14,8 +14,8 @@ us.mysqlconnection = function(host, database) {
             user: "root", //用户名
             user: "root", //用户名
             password: "cocorobo", //密码
             password: "cocorobo", //密码
             database: database, //数据库名称
             database: database, //数据库名称
-            // port: 20007 //端口
-            port: 3306 //端口
+            port: 20007 //端口
+            // port: 3306 //端口
         }); //连接超时和错误从连
         }); //连接超时和错误从连
     }
     }
     //connectionLimit: 1000, 
     //connectionLimit: 1000, 

+ 2 - 2
pbl.js

@@ -5340,8 +5340,8 @@ router.route("/selectDataBoardStudent").all((req, res, next) => {
 });
 });
 
 
 //数据看板-课程数据
 //数据看板-课程数据
-router.route("/selectDataBoardCourseNew").all((req, res, next) => {
-    postmysql(req, res, "selectDataBoardCourseNew");
+router.route("/selectDataBoardCourse").all((req, res, next) => {
+    postmysql(req, res, "selectDataBoardCourse");
 });
 });
 
 
 //数据看板-综合数据
 //数据看板-综合数据