Python3 writes to redis but java cannot get it

problem description

In the

project, the python3 code writes the hash structure data to the redis,java code to get it according to hash key, and the returned data is all null.
for example, python stores the following data:

clipboard.png

The

java code uses the get method: hget ("gvs:blackeggs:bw", 2), and returns null.

the environmental background of the problems and what methods you have tried

I think it is the coding transformation that occurs when this key is stored in redis, resulting in inconsistency. But no instructions were found.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

expect to get the data correctly. Which god will take a look at it? thank you!

Mar.28,2021

if you don't post the code, you can only imagine

.

Why don't you try hget ("gvs:blackeggs:bw", "2")


Hello, have you solved it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3da79-43c97.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3da79-43c97.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?