zengyicheng %!s(int64=3) %!d(string=hai) anos
pai
achega
d29e542d81
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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);