Explorar o código

删除评价体系前查询课程是否有该评价

zengyicheng hai 1 ano
pai
achega
4ab469a453
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      pbl.js

+ 12 - 0
pbl.js

@@ -4183,6 +4183,18 @@ router.route("/deleteEvaluation").all((req, res, next) => {
     postmysql(req, res, "delete_evaluation");
     // id评价id
 });
+
+//删除评价体系前查询课程是否有该评价
+router.route("/selectCourseEva").all((req, res, next) => {
+    var json = queryString(req.url); //cid 课程id,page 页数
+    getmysql(
+        req,
+        res,
+        "select_course_eva",
+        json["eid"],
+    );
+});
+
 //批量添加学校
 router.route("/batchRegistrationSchool").post(function(req, res, next) {
     let users = req.body[0];