fix(): update

This commit is contained in:
Espoir
2021-08-26 23:32:24 +08:00
parent df7163a78e
commit 32363e78f6
2 changed files with 3 additions and 3 deletions

View File

@@ -10,9 +10,9 @@ type NotifyRouter struct {
}
func (s *NotifyRouter) InitRouter(Router *gin.RouterGroup) {
emailRouter := Router.Use(middleware.OperationRecord())
router := Router.Use(middleware.OperationRecord())
var Controller = api.ApiGroupApp.Api.NotifyController
{
emailRouter.POST("dingding", Controller)
router.POST("dingding", Controller)
}
}