|
@@ -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"]);
|
|
|
+});
|
|
|
|
|
|
|
|
|
|