You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
339 B
15 lines
339 B
package routers |
|
|
|
import ( |
|
"server/modules/web/handler" |
|
|
|
"github.com/gin-gonic/gin" |
|
) |
|
|
|
func mail(e *gin.RouterGroup) { |
|
e.POST("/mail/list", handler.MailList) |
|
e.POST("/mail/read", handler.ReadMail) |
|
// e.POST("/mail/draw", handler.DrawMail) |
|
e.POST("/mail/delete", handler.DeleteMail) |
|
e.POST("/mail/deleteAll", handler.DeleteMailAll) |
|
}
|
|
|