From c219922f2209f0abf3291b565dd2a687d5240487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=90=E5=AE=B6?= Date: Mon, 16 Sep 2024 17:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=BE=AE=E4=BF=A1=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/src/social/wechat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/social/wechat.rs b/library/src/social/wechat.rs index 7c7a08c..0fc302a 100644 --- a/library/src/social/wechat.rs +++ b/library/src/social/wechat.rs @@ -134,7 +134,7 @@ impl WechatSocial { /// /// https://developers.weixin.qq.com/minigame/dev/api-backend/open-api/login/auth.checkSessionKey.html /// https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/user-login/checkSessionKey.html - /// todo 使用的hmac签名是否正确,签名结果转换成字符串是否正确 + /// todo 使用的hmac签名是否正确,签名结果转换成字符串是否正确,目前未经验证 pub async fn check_session(&self, session_key: &str, open_id: &str) -> SocialResult<()> { // let signature = Hmac::::new_from_slice(session.as_bytes()).expect(""); let mut mac =