mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
Add files via upload
This commit is contained in:
17
backend/internal/report/report_test.go
Normal file
17
backend/internal/report/report_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package report
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMail(t *testing.T) {
|
||||
config := map[string]any{
|
||||
"provider": "mail",
|
||||
"provider_id": "4",
|
||||
"subject": "执行结束",
|
||||
"body": "执行结束",
|
||||
}
|
||||
err := NotifyMail(config)
|
||||
fmt.Println(err)
|
||||
}
|
||||
Reference in New Issue
Block a user