Browse Source

后台管理后缀管理

11wqe1 2 weeks ago
parent
commit
093a857709
1 changed files with 16 additions and 1 deletions
  1. 16 1
      pbl.js

+ 16 - 1
pbl.js

@@ -5631,12 +5631,27 @@ router.route("/addEvaTemplate").get((req, res, next) => {
     getmysql2(req, res, "add_evaTemplate", json["t"], json["c"], json["uid"], json["oid"]);
 });
 
-//后台管理 查询后缀管理
+//后台管理  后缀管理 查询学校
 router.route("/getAllSchoolSuffix").get((req, res, next) => {
     var json = queryString(req.url);
     getmysql2(req, res, "getAllSchoolSuffix", json["sname"], json["oname"], json["aname"],json["page"],json["num"]);
 });
 
+//后台管理 后缀管理 添加学校
+router.route("/addSuffxSchool").all((req, res, next) => {
+    postmysql(req, res, "addSuffxSchool");
+});
+
+//后台管理 后缀管理 编辑学校
+router.route("/exitSuffxSchool").all((req, res, next) => {
+    postmysql(req, res, "exitSuffxSchool");
+});
+
+//后台管理 后缀管理 删除学校
+router.route("/delSuffxSchool").all((req, res, next) => {
+    postmysql(req, res, "delSuffxSchool");
+});
+
 //teacher 查询项目模板
 router.route("/getCourseTemplateTs").all((req, res, next) => {
     var json = queryString(req.url);