Home > x > WechatMessageCrypto > checkSignature
检查签名是否正确。
Signature:
checkSignature(signature: string, payload: WechatMessageCryptoSignOptions): boolean;
Parameter | Type | Description |
---|---|---|
signature | string | 要验证的签名 |
payload | WechatMessageCryptoSignOptions | 载荷 |
Returns:
boolean