From 76033bc88aa8b067b325192ed541188dd0b4b173 Mon Sep 17 00:00:00 2001 From: ziming Date: Tue, 16 Dec 2025 14:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E7=AC=94=E7=AB=8B=E5=87=8F=E9=87=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/pkg/helper/utils_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/pkg/helper/utils_test.go b/internal/pkg/helper/utils_test.go index 9d198f4..9051c14 100644 --- a/internal/pkg/helper/utils_test.go +++ b/internal/pkg/helper/utils_test.go @@ -43,8 +43,10 @@ func queryUsed(useNum *int) { } func TestMd5(t *testing.T) { - //jsonStr := `{"content":"1","timestamp":1765447477945,"ciphertext":"77CAC2FCFDEBAC6665025A1B81E3BBF9"}` - ciphertext := Md5("1" + "DrY1zLkOH01q0sN66vrmkdpbWsyb41ho") + + jsonStr := `{"content":"1","timestamp":1765447477945,"ciphertext":"77CAC2FCFDEBAC6665025A1B81E3BBF9"}` + + ciphertext := Md5(jsonStr) t.Log(ciphertext) } @@ -80,4 +82,5 @@ func TestLength(t *testing.T) { }` s := len(jsonStr) t.Log(s) + }