@@ -23,7 +23,7 @@ type AliPayClient struct {
AppAuthToken string
AuthToken string
IsProd bool
- mu sync.RWMutex
+ mu sync.Mutex
}
// 初始化支付宝客户端
@@ -20,7 +20,7 @@ type WeChatClient struct {
KeyFile []byte
Pkcs12File []byte
// 初始化微信客户端