API 客户端认证那些事.

2016-02-22
阅读 3 分钟
5.5k
1.设置key密钥。2.假设参数 appid:wx930ea5d5a258f4f much_id:10000100 device_info:1000 body:test nonce_str:iabuaiVckJ按照参数名ASCII字典排序。StringA="appid=wx930ea5d5a258f4f&body=test&device_info=1000&much_id=10000010&nonce_str=iabuaiVckJ";3.拼接API密钥。stringSignTemp="stringA&...