浏览代码

feat: 添加查询课程登录用户的接口

新增select_cocoLearnCourseLogin接口,用于查询课程登录用户信息
lsc 6 月之前
父节点
当前提交
4b6c55da7a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -10228,6 +10228,11 @@ router.route('/delete_cocoLearnInviteCode').all((req, res, next) => {
     postmysql(req, res, "delete_cocoLearnInviteCode");
 });
 
+//查询课程登录用户
+router.route('/select_cocoLearnCourseLogin').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "select_cocoLearnCourseLogin", json['id']);
+});
 
 function generateAPIKey(username) {
     let timeStamp = new Date().getTime();