The redis key value cannot be found in the java backend query.

I can get it from the command line, but I just can"t get it in the code. How to solve it?

clipboard.png

clipboard.png

Jul.28,2021

solved, to set the set value in the code, the set value does not work on the command line, I do not know why, if you know, you can say

.
redisTemplate.opsForValue().set(mobile, smsCode, 10, TimeUnit.MINUTES);
``

127.0.0.1 keys 6379 > keys *
1) "17625907307"
2) "name"
3) "xfind:security:social.connect.17625907307"
4) "xacxedx00x05tx00x0b17625907307"
5) "1762590730"
127.0.0.1 br 6379 >

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-1b37b51-2c0a9.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-1b37b51-2c0a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?