1
This commit is contained in:
parent
3e2834f7c6
commit
20725e4e41
@ -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) {
|
|
||||||
}
|
|
||||||
|
@ -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)
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user