master
Evan Chen 2021-12-17 16:26:09 +08:00
parent 44f1c38811
commit 54d2ff474a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func (srv Service) Load() error {
server.OK(c, data)
})
ctlAPI.GET("test_email", auth.ACAdmin(), func(c *gin.Context) {
ctlAPI.POST("test_email", auth.ACAdmin(), func(c *gin.Context) {
tos := c.Query("to")
if tos == "" {
panic(errors.ErrorBadRequest)