iOS 端拉起发票列表的cardSign 是怎么签名的
发布于 4 年前 作者 minyan 9456 次浏览 来自 官方Issues

https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Reimburser_API_List.html

iOS 端拉起发票列表的cardSign 是怎么签名的, 哪些参数参与签名。

1 回复

卡券签名cardSign说明

1.将 api_ticket、appid、location_id、timestamp、nonce_str、card_id、card_type的value值进行字符串的字典序排序。

2.将所有参数字符串拼接成一个字符串进行sha1加密,得到cardSign。

https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#57

https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=cardsign

回到顶部