|
@@ -22,7 +22,7 @@ func InitCommunity(r *gin.Engine) {
|
|
|
rGroup.POST("/question/audio/log", community.AddAudioLog)
|
|
|
// 视频社区
|
|
|
noAuthGroup := r.Group("api/community").Use(middleware.Token())
|
|
|
- noAuthGroup.GET("/video/list", community.VideoList)
|
|
|
+ rGroup.GET("/video/list", community.VideoList)
|
|
|
noAuthGroup.POST("/video/play_log", community.VideoPlayLog)
|
|
|
|
|
|
//点赞、吐槽、评论
|