插件优化

This commit is contained in:
蒋吉兆
2021-08-28 00:00:08 +08:00
parent d99efa76b3
commit f5e0268d0f
9 changed files with 88 additions and 48 deletions

View File

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