fix: wechat verify
This commit is contained in:
@@ -22,6 +22,10 @@ type Config struct {
|
||||
Token string
|
||||
AesKey string
|
||||
DevMode bool
|
||||
Verify struct {
|
||||
Key string
|
||||
Value string
|
||||
}
|
||||
}
|
||||
|
||||
func Provide(opts ...opt.Option) error {
|
||||
@@ -42,6 +46,7 @@ func Provide(opts ...opt.Option) error {
|
||||
WithAESKey(config.AesKey),
|
||||
WithToken(config.Token),
|
||||
WithClient(httpClient),
|
||||
WithVerifySiteKeyPair(config.Verify.Key, config.Verify.Value),
|
||||
), nil
|
||||
}, o.DiOptions()...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user