소스 검색

后台管理后缀管理

11wqe1 2 달 전
부모
커밋
093a857709
1개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  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);