yuanyiming 1 anno fa
parent
commit
9c62b90cdb
1 ha cambiato i file con 24 aggiunte e 1 eliminazioni
  1. 24 1
      pbl.js

+ 24 - 1
pbl.js

@@ -279,12 +279,35 @@ router.post("/selectResource", (req, res) => {
     console.log('获取',req.body); 
     console.log('获取',req.body); 
     postmysql3(req, res, "select_resource");
     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) => {
 router.post("/selectOperatorTech", (req, res) => {
     console.log('获取',req.body); 
     console.log('获取',req.body); 
     postmysql3(req, res, "select_operatorTech");
     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
 //lqh获取活动acid
 router.post("/selectActivityID", (req, res) => {
 router.post("/selectActivityID", (req, res) => {
     postmysql3(req, res, "select_activityID");
     postmysql3(req, res, "select_activityID");