var request = require('request'); var cryptoJS = require("crypto-js"); /** * The helper of api */ class LjApiHelper { //获取课程信息 static getApiForCourse(lessonId, courseId, eid) { var http = "http://tt-web.api.ai160.com/lesson/" + lessonId; http += "?courseId=" + courseId http += "&eid=" + eid http += "&cache=true"; return http; } static getApiForDown(lessonId) { return "http://tt-web.api.ai160.com/callback/download/add?lessonId=" + lessonId; } } module.exports = LjApiHelper;