zengyicheng hai 1 ano
pai
achega
b775e67f37
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pbl.js

+ 2 - 2
pbl.js

@@ -4179,9 +4179,9 @@ router.route("/insertCase").all((req, res, next) => {
 });
 //新增评分
 router.route("/addScore").all((req, res, next) => {
-    var json = queryString(req.url);
-    getmysql(req, res, "addScore", json["rid"], json["suser"], json["s"]);
+    postmysql(req, res, "addScore");
 });
+
 //查询评分
 router.route("/selectScore").all((req, res, next) => {
     var json = queryString(req.url);