证书方式
This commit is contained in:
@@ -44,7 +44,7 @@ func (a *API) SystemAuthToken(grantType, code, refreshToken string) (tokenInfo *
|
||||
params["refresh_token"] = refreshToken
|
||||
}
|
||||
// 获取证书
|
||||
appCertSN, aliPayRootCertSN, aliPayPublicCertSN, err := SetCertSnByPath("./config/appCertPublicKey_2019110769024042.crt", "./config/alipayRootCert.crt", "./config/alipayCertPublicKey_RSA2.crt")
|
||||
appCertSN, aliPayRootCertSN, aliPayPublicCertSN, err := SetCertSnByPath(AppCertPath, AliPayRootCertPath, AliPayPublicCertPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user