7
0

delete sign value

This commit is contained in:
liangzy 2020-08-06 16:44:20 +08:00
parent 79bc6007ea
commit aba6d728e3

View File

@ -86,7 +86,7 @@ func unsignRpcRequest(request *http.Request, signer Signer) (err error) {
} }
if accessKey, err := signer.GetAccessKeyId(); err != nil { if accessKey, err := signer.GetAccessKeyId(); err != nil {
return return err
} else if accessKey == "" { } else if accessKey == "" {
return errors.New("access key is not allow empty") return errors.New("access key is not allow empty")
} else if accessKey != signParams["access_key"] { } else if accessKey != signParams["access_key"] {