添加用户获取消息通知接口
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"toutoukan/controllers/comments/publishComments"
|
||||
"toutoukan/controllers/goods"
|
||||
"toutoukan/controllers/kills"
|
||||
"toutoukan/controllers/notifications/getnotifications"
|
||||
"toutoukan/controllers/search"
|
||||
"toutoukan/controllers/system"
|
||||
"toutoukan/controllers/user"
|
||||
@@ -55,6 +56,10 @@ func SetupRouter() *gin.Engine {
|
||||
commentGroup.POST("/get", getcomments.GetComments)
|
||||
commentGroup.POST("/publish", publishComments.PublishComment)
|
||||
}
|
||||
notificationGroup := r.Group("/notification")
|
||||
{
|
||||
notificationGroup.POST("/get", getnotifications.GetNotifications)
|
||||
}
|
||||
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user