update
parent
44f1c38811
commit
54d2ff474a
|
@ -40,7 +40,7 @@ func (srv Service) Load() error {
|
||||||
server.OK(c, data)
|
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")
|
tos := c.Query("to")
|
||||||
if tos == "" {
|
if tos == "" {
|
||||||
panic(errors.ErrorBadRequest)
|
panic(errors.ErrorBadRequest)
|
||||||
|
|
Loading…
Reference in New Issue