JOHNNY CHEUNG
JOHNNY CHEUNG

> This works and works on M2 Apple Silicon.
client.LoadAliPayPublicKey(aliPayKey) 这个我确定是加载过了的,但是还是不行
runtime error: invalid memory address or nil pointer dereference /usr/Local/go/src/runtime/panic.go:261 (0x10e8ca8b7) panicmem: panic (memoryError) /usr/local/go/src/runtime/signal_unix.go:881 (0x10e8ca885) sigpanic: panicmemo /Users/song/go/pkg/mod/github.com/smartwalle/alipay/v30v3.2.19/alipay.go:378 (0x10f8493df) (*Client). doRequest: var req = ngx.NewRequest(method, c.host, ngx. WithClient(c.Client)) /Users/song/go/pkg/mod/github.com/smartwalle/alipay/v30v3.2.19/authorize.go:32...
> > aliPayKey > > 你的 aliPayKey 是哪里来的 已经解决了,是我自己的代码问题,导致没有初始化就用它了。