We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:当签名中存在“=”号时签名校验错误 原因:进行签名校验时,需要先从传回来的String类型的notifyData中提取签名,该notifyData是这样的结构:“total_amount=0.01&sign=dfisajfjkasd==”。源码中采用的提取方式是先根据“&”分割字符串,再对每个子字符串用“=”分割并存入map中,但是当签名中存在“=”时这样分割就会出现问题,从而导致不能正确提取出签名,进而签名校验错误。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题:当签名中存在“=”号时签名校验错误
原因:进行签名校验时,需要先从传回来的String类型的notifyData中提取签名,该notifyData是这样的结构:“total_amount=0.01&sign=dfisajfjkasd==”。源码中采用的提取方式是先根据“&”分割字符串,再对每个子字符串用“=”分割并存入map中,但是当签名中存在“=”时这样分割就会出现问题,从而导致不能正确提取出签名,进而签名校验错误。
The text was updated successfully, but these errors were encountered: