优化sdk

This commit is contained in:
sky22333
2026-03-17 23:21:27 +08:00
parent da0586b5ca
commit af647f979b
10 changed files with 260 additions and 65 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ import (
"strings"
"testing"
"time"
"github.com/sky22333/qqbot/config"
)
func TestSendNotificationWithConfig(t *testing.T) {
@@ -19,7 +21,7 @@ func TestSendNotificationWithConfig(t *testing.T) {
configPath = "configs/config.toml"
}
cfg, err := LoadConfig(configPath)
cfg, err := config.LoadSDK(configPath)
if err != nil {
t.Fatalf("加载配置失败: %v", err)
}