zengyicheng %!s(int64=2) %!d(string=hai) anos
pai
achega
a7ab397ff8
Modificáronse 1 ficheiros con 5 adicións e 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"]);
+});