befinal / node-tenpay

微信支付 for nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

util中的decrpt方法是否调用错了?

pouringrain0628 opened this issue · comments

image
let decoded = decipher.update(encryptedData, 'base64', 'utf8');
后两个参数的位置是否错了?

改为ts版本实现时发现报错,似乎是写反了?
image

commented

没有错应该