/// <summary> /// 获取Lesson /// </summary> public static void setLessonOff(int manual, string accessValue, string chapter) { if (Global.getLessonID() == 0 && Global.getTeacherID() == 0) { Log.Info("setLessonOff nosync");// } else { string jsonText = doPost("lesson.off", "manual=" + manual + "&accessValue=" + accessValue + "&chapter=" + chapter); Log.Info(jsonText); } //清空数据 Global.setCourseID(0); Global.setLessonID(0); Global.setLessonOff(); }