|
@@ -370,6 +370,17 @@ router.post("/insertResource", (req, res) => {
|
|
|
postmysql3(req, res, "insertResource");
|
|
|
});
|
|
|
|
|
|
+//更新用户查看课程views
|
|
|
+router.post("/updateUserViews", (req, res) => {
|
|
|
+ postmysql3(req, res, "updateUserViews");
|
|
|
+});
|
|
|
+
|
|
|
+//查询用户活跃排行
|
|
|
+router.get("/selectUserActivity", (req, res) => {
|
|
|
+ var json = req.query
|
|
|
+ getmysql(req, res, "selectUserActivity",json['oid']);
|
|
|
+});
|
|
|
+
|
|
|
//lqh获取活动acid
|
|
|
router.post("/selectActivityID", (req, res) => {
|
|
|
postmysql3(req, res, "select_activityID");
|
|
@@ -380,10 +391,7 @@ router.post("/selectMyPublish", (req, res) => {
|
|
|
postmysql3(req, res, "select_mypublish");
|
|
|
});
|
|
|
|
|
|
-//更改当前用户发布的活动 xlh
|
|
|
-router.post("/updateMyPublish", (req, res) => {
|
|
|
- postmysql3(req, res, "update_mypublish");
|
|
|
-});
|
|
|
+
|
|
|
|
|
|
//删除当前用户发布的活动 xlh
|
|
|
router.post("/deleteMyPublish", (req, res) => {
|