renjiaojiao 2 жил өмнө
parent
commit
c65b0eae7d

+ 3 - 0
core/src/qfw/manage/course.go

@@ -999,6 +999,9 @@ func (this *CourseManage) OnLineList() {
 	flag := this.GetString("flag")
 	flag := this.GetString("flag")
 	infoId := this.GetString("infoId")
 	infoId := this.GetString("infoId")
 	i_type, _ := this.GetInt("i_type")
 	i_type, _ := this.GetInt("i_type")
+	if i_type == 0 {
+		i_type = 3
+	}
 	//log.Println(i_type)
 	//log.Println(i_type)
 	query := map[string]interface{}{}
 	query := map[string]interface{}{}
 	if queryStr != "" {
 	if queryStr != "" {