Commit ff4f5a02 authored by liujiangnan's avatar liujiangnan

feat

parent 60a1eb9c
......@@ -38,6 +38,7 @@ export default class NewClass extends middleLayerBase {
this.course_id = bundleInfo.course_id;
this.courseware_id = bundleInfo.courseware_id;
if (!bundleInfo.token || !bundleInfo.course_id || !bundleInfo.courseware_id) {
console.log("===liu===", jsonStr);
console.error("缺少必要的参数!请检查是否传入了以下参数:course_id,courseware_id,toke");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment