Browse Source

新添管理员获取对应案例所有评审分数

SanHQin 1 year ago
parent
commit
32c48a1b8c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pbl.js

+ 6 - 0
pbl.js

@@ -440,6 +440,12 @@ router.route("/updatePassword1").post(function(req, res, next) {
     }
 });
 
+// 管理员查询项目下所有的评分
+router.route("/selectScoreByAdmin").all(function(req, res, next) {
+	var json = queryString(req.url);
+    getmysql(req, res, "selectScoreByAdmin", json["rid"]);
+})
+
 queryString = function(url) {
     var a = url.split("?");
     var json = querystring.parse(a[1]);