This commit is contained in:
aozhiwei 2024-11-29 16:40:49 +08:00
parent 8e9cdaa81e
commit b9762c39e2

View File

@ -2,6 +2,7 @@ package friend
import (
"f5"
"main/middleware"
"main/api/v1"
)
@ -9,5 +10,7 @@ type FriendRouter struct{}
func (this *FriendRouter) InitRouter() {
api := v1.ApiGroupApp.FriendApiGroup
f5.GetApp().GetGinEngine().GET("/api/v1/friend/list", api.FriendApi.List)
f5.GetApp().GetGinEngine().GET("/api/v1/friend/list",
middleware.JwtAuth,
api.FriendApi.List)
}