更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-2
View File
@@ -11,7 +11,6 @@ import (
"server/services/wechatmp"
)
// sign 复刻微信签名算法:sha1(sort(token, timestamp, nonce))
func sign(token, timestamp, nonce string) string {
arr := []string{token, timestamp, nonce}
sort.Strings(arr)
@@ -41,7 +40,6 @@ func TestGeneratePushSecrets(t *testing.T) {
}
}
// 生成的 EncodingAESKey 必须能被微信 AES-256-CBC 直接使用
func TestGeneratedAESKeyUsable(t *testing.T) {
key := GeneratePushAESKey()
plain := `<xml><ToUserName>wx123</ToUserName></xml>`