update
parent
44f1c38811
commit
54d2ff474a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue