This commit is contained in:
aozhiwei 2024-11-29 15:17:11 +08:00
parent 3e2834f7c6
commit 20725e4e41
2 changed files with 0 additions and 8 deletions

View File

@ -9,9 +9,3 @@ type FriendApi struct {
func (this *FriendApi) List(c *gin.Context) { func (this *FriendApi) List(c *gin.Context) {
} }
func (this *FriendApi) Invite(c *gin.Context) {
}
func (this *FriendApi) Agree(c *gin.Context) {
}

View File

@ -10,6 +10,4 @@ type FriendRouter struct{}
func (this *FriendRouter) InitRouter() { func (this *FriendRouter) InitRouter() {
api := v1.ApiGroupApp.FriendApiGroup api := v1.ApiGroupApp.FriendApiGroup
f5.GetApp().GetGinEngine().GET("/api/v1/friend/list", api.FriendApi.List) f5.GetApp().GetGinEngine().GET("/api/v1/friend/list", api.FriendApi.List)
f5.GetApp().GetGinEngine().GET("/api/v1/friend/invite", api.FriendApi.Invite)
f5.GetApp().GetGinEngine().GET("/api/v1/friend/agree", api.FriendApi.Agree)
} }