소스 검색

文章列表修改

renjiaojiao 2 년 전
부모
커밋
c65b0eae7d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      core/src/qfw/manage/course.go

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

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