2019-09-02 17:38
@JFinal 谢谢前辈,刚接触redis,所以不是很清楚怎么使用,但是业务上需要使用redis.所以,想看看有没有一些样例,并且项目使用的jfinal框架,所以想请教下,1框架中对redis中的链表进行了排序处理吗?我先前测试的时候,看了下数据,有排序,但是不清楚根据什么排序的。如果可以排序,那么是否可以根据
value值里面的某些特定值进行排序(例如:[{"sn":"84E0F421676707B2","category":"0","user_id":"1","user_name":"李一","user_privilege":"user","idCard":"123","grp":"1","type":"xx","password":"22","cardsn":"22","faceurl":"","fingerurl":"","pic":""}
,{"sn":"84E0F421676707B2","category":"0","user_id":"2","user_name":"李二","user_privilege":"user","idCard":"123","grp":"1","type":"xx","password":"22","cardsn":"22","faceurl":"","fingerurl":"","pic":""}
]样例数据中id。可以对链表中的数据依据id进行排序吗?)。另外,想深入了解jfinal,但是有些地方demo很少,看的不是很懂。希望前辈指点下,感谢