chore: change message type

This commit is contained in:
Noah Hsu
2022-08-14 03:05:30 +08:00
parent fe0dee1196
commit 8cd05275f0
4 changed files with 27 additions and 22 deletions

View File

@ -101,8 +101,8 @@ func admin(g *gin.RouterGroup) {
task.POST("/copy/clear_done", handles.ClearDoneCopyTasks)
ms := g.Group("/message")
ms.GET("/get", message.PostInstance.GetHandle)
ms.POST("/send", message.PostInstance.SendHandle)
ms.POST("/get", message.HttpInstance.GetHandle)
ms.POST("/send", message.HttpInstance.SendHandle)
}
func fs(g *gin.RouterGroup) {