zengyicheng hace 2 años
padre
commit
a7ab397ff8
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      pbl.js

+ 5 - 2
pbl.js

@@ -1627,8 +1627,11 @@ router.route('/addScore').all((req, res, next) => {
     var json = queryString(req.url);
     getmysql(req, res, "addScore", json["rid"], json["suser"], json["s"]);
 });
-
-
+//查询评分
+router.route('/selectScore').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectScore", json["rid"]);
+});