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) + }