用redis开发留言板,用户名和密码或者留言列表应该用单独的key来存储吗?
習慣沉默
習慣沉默 2017-04-27 09:03:20
0
2
813

我现在用redis开发留言板,用户账号密码用的是单独的key记录,列表是用 用户的用户名_guest_list这样的key来存储的。不知道对不对,请大神指教。这里贴上代码

習慣沉默
習慣沉默

reply all(2)
滿天的星座

No big problem. It’s better to use map to save your account and password

小葫芦

I still don’t know what you are asking about. There is no unified standard for this. If you use it this way, it is more convenient and there are no problems with safety, then it is completely ok.!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template