소스 검색

新增评分

zengyicheng 1 년 전
부모
커밋
b775e67f37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);