zengyicheng 3 éve
szülő
commit
d29e542d81
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -205,6 +205,11 @@ router.route('/addWork').all((req, res, next) => {
     postmysql(req, res, "insert_teacher_work");
 });
 
+//修改课程
+router.route('/updateWork').all((req, res, next) => {
+    postmysql(req, res, "update_teacher_work");
+});
+
 //查询课程
 router.route('/selectCourse').all((req, res, next) => {
     var json = queryString(req.url);