|
|
@@ -10218,6 +10218,17 @@ router.route('/select_cocoLearn_detail').all((req, res, next) => {
|
|
|
getmysql(req, res, "select_cocoLearn_detail", json['id']);
|
|
|
});
|
|
|
|
|
|
+//添加课程随机码
|
|
|
+router.route('/add_cocoLearnInviteCode').all((req, res, next) => {
|
|
|
+ postmysql(req, res, "add_cocoLearnInviteCode");
|
|
|
+});
|
|
|
+
|
|
|
+//删除课程随机码
|
|
|
+router.route('/delete_cocoLearnInviteCode').all((req, res, next) => {
|
|
|
+ postmysql(req, res, "delete_cocoLearnInviteCode");
|
|
|
+});
|
|
|
+
|
|
|
+
|
|
|
function generateAPIKey(username) {
|
|
|
let timeStamp = new Date().getTime();
|
|
|
|