* 插件架构改造

* v2.4.0
This commit is contained in:
Jinnrry
2024-03-01 19:10:56 +08:00
committed by GitHub
parent d358812afb
commit 20f3590a04
26 changed files with 629 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
package wechat_push
package main
import (
"pmail/config"
@@ -15,5 +15,5 @@ func TestWeChatPushHook_ReceiveParseAfter(t *testing.T) {
testInit()
w := NewWechatPushHook()
w.ReceiveParseAfter(&parsemail.Email{Subject: "标题", Text: []byte("文本内容")})
w.ReceiveParseAfter(nil, &parsemail.Email{Subject: "标题", Text: []byte("文本内容")})
}