瀏覽代碼

查询评分

zengyicheng 2 年之前
父節點
當前提交
a7ab397ff8
共有 1 個文件被更改,包括 5 次插入2 次删除
  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"]);
+});