|
@@ -8,7 +8,7 @@ import (
|
|
|
|
|
|
func InitPc(r *gin.Engine) {
|
|
|
rGroup := r.Group("api/pc").Use(middleware.Token())
|
|
|
- rGroup.GET("/latest_news", pc.Banner)
|
|
|
+ rGroup.GET("/latest_news", pc.LatestNews)
|
|
|
rGroup.GET("/banner", pc.Banner)
|
|
|
rGroup.GET("/latest_release", pc.LatestRelease)
|
|
|
rGroup.GET("/detail", pc.ClassifyDetail)
|