yuanyiming 1 年間 前
コミット
9c62b90cdb
1 ファイル変更24 行追加1 行削除
  1. 24 1
      pbl.js

+ 24 - 1
pbl.js

@@ -279,12 +279,35 @@ router.post("/selectResource", (req, res) => {
     console.log('获取',req.body); 
     postmysql3(req, res, "select_resource");
 });
-//yym 获取课程收藏事件
+
+//yym 获取精品慕课
+router.post("/selectJTeach", (req, res) => {
+    console.log('获取',req.body); 
+    postmysql3(req, res, "select_jTeach");
+});
+//yym 获取课程
 router.post("/selectOperatorTech", (req, res) => {
     console.log('获取',req.body); 
     postmysql3(req, res, "select_operatorTech");
 });
 
+//yym 获取我的消息,未读红点所填数据
+router.post("/selectUnreadMsg", (req, res) => {
+    console.log('获取',req.body); 
+    postmysql3(req, res, "select_unreadMsg");
+});
+
+//yym 单个点击信息变已读
+router.post("/updateOneIsRead", (req, res) => {
+    console.log('获取',req.body); 
+    postmysql3(req, res, "update_oneIsRead");
+});
+
+
+
+
+
+
 //lqh获取活动acid
 router.post("/selectActivityID", (req, res) => {
     postmysql3(req, res, "select_activityID");