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:
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!