Browse Source

去掉推荐课程参数

pull/1425/head
ychao_1983 3 years ago
parent
commit
c7ae3915ae
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/org/home.go

+ 0
- 2
routers/org/home.go View File

@@ -92,8 +92,6 @@ func Home(ctx *context.Context) {
if setting.Course.OrgName == org.Name {
pageSize = 15
CourseOptional = util.OptionalBoolTrue
recommendCourses, _ := repository.GetRecommendRepoFromPromote("courses")
ctx.Data["RecommendCourses"] = recommendCourses
recommendCourseKeyWords, _ := repository.GetRecommendCourseKeyWords()
ctx.Data["CoursesKeywords"] = recommendCourseKeyWords



Loading…
Cancel
Save