From 54d2ff474ae8cb8abc571fd4944edc171a83a831 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Fri, 17 Dec 2021 16:26:09 +0800 Subject: [PATCH] update --- control/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/service.go b/control/service.go index 6a12e5c..e774435 100644 --- a/control/service.go +++ b/control/service.go @@ -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)