1
This commit is contained in:
@@ -44,7 +44,9 @@ func New(appID, appSecret, merchantId, code string, config ...*platformapi.APICo
|
||||
if len(config) > 0 {
|
||||
curConfig = *config[0]
|
||||
}
|
||||
|
||||
if appID == "" {
|
||||
return nil
|
||||
}
|
||||
// 查询蜂鸟refeshToken
|
||||
return &API{
|
||||
grantType: "authorization_code", // 授权模式,填固定值authorization_code
|
||||
|
||||
Reference in New Issue
Block a user