11wqe1 1 year ago
parent
commit
cb8210905a
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pbl.js

+ 16 - 0
pbl.js

@@ -399,6 +399,17 @@ router.get("/selectFeedback", (req, res) => {
 	getmysql(req, res, "selectFeedback", json["pa"], 10);
 });
 
+//yym 获取所有课程
+router.get("/selectAllAct", (req, res) => {
+	var json = req.query;
+	getmysql(req, res, "selectAllAct", json["typ"], json["inp"], json["fin"]);
+});
+
+//yym 更新活动信息
+router.post("/updateActInfo", (req, res) => {
+	postmysql3(req, res, "updateActInfo");
+});
+
 //yym 更新反馈状态
 router.post("/updateFeedback", (req, res) => {
 	// console.log("获取", req.body);
@@ -419,6 +430,11 @@ router.get("/selectEnrollUser", (req, res) => {
 		30
 	);
 });
+//yym 获取所有注册用户
+router.get("/selectAllUser", (req, res) => {
+	var json = req.query;
+	getmysql(req, res, "selectAllUser");
+});
 
 //lqh获取活动acid
 router.post("/selectActivityID", (req, res) => {