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