Browse Source

change func name

Jerry 7 years ago
parent
commit
7c7f18b62a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      alipay_service_api.go

+ 1 - 1
alipay_service_api.go

@@ -298,7 +298,7 @@ func verifyAliPaySign(signData, sign, signType, aliPayPublicKey string) (err err
 //    grantType:值为 authorization_code 时,代表用code换取;值为 refresh_token 时,代表用refresh_token换取,传空默认code换取
 //    codeOrToken:支付宝授权码或refresh_token
 //    文档:https://docs.open.alipay.com/api_9/alipay.system.oauth.token
-func AlipaySystemOauthToken(appId, privateKey, grantType, codeOrToken string) (rsp *AliPaySystemOauthTokenResponse, err error) {
+func AliPaySystemOauthToken(appId, privateKey, grantType, codeOrToken string) (rsp *AliPaySystemOauthTokenResponse, err error) {
 	var bs []byte
 	body := make(BodyMap)
 	if "authorization_code" == grantType {