【调整】暗色主题样式

This commit is contained in:
cai
2025-12-12 17:39:52 +08:00
parent 13669666e4
commit d01b42139c
1199 changed files with 203816 additions and 4592 deletions

View File

@@ -0,0 +1,28 @@
package report
import (
"testing"
)
func TestFeishuSend(test *testing.T) {
report := NewFeishuReport("", "")
err := report.SendText("test msg")
if err != nil {
test.Errorf("FeishuSend failed: %v", err)
}
}
func TestNotifyFeishu(test *testing.T) {
params := map[string]any{
"provider_id": "3",
"body": "测试消息通道",
"subject": "测试消息通道",
}
err := NotifyFeishu(params)
if err != nil {
test.Error("NotifyWebHook failed", "error", err)
} else {
test.Log("NotifyWebHook success")
}
}