证书方式
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package alipayapi
|
||||
|
||||
import "git.rosy.net.cn/baseapi/utils"
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
GrantTypeCode = "authorization_code"
|
||||
@@ -41,7 +43,6 @@ func (a *API) SystemAuthToken(grantType, code, refreshToken string) (tokenInfo *
|
||||
if refreshToken != "" {
|
||||
params["refresh_token"] = refreshToken
|
||||
}
|
||||
|
||||
// 获取证书
|
||||
appCertSN, aliPayRootCertSN, aliPayPublicCertSN, err := SetCertSnByPath(appCertPath, aliPayRootCertPath, AliPayPublicCertPath)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user