yaowanxin
7 天以前 645e5448919612d5772d74d29fb2f2bb2f9bf951
ruoyi-common/src/main/java/com/ruoyi/common/utils/RedisUtil.java
@@ -153,6 +153,7 @@
    public static boolean set(String key, Object value) {
        try {
            redisTemplate.opsForValue().set(key, value);
            return true;
        } catch (Exception e) {
@@ -470,7 +471,7 @@
     * @param start 开始
     * @param end   结束 0 到 -1代表所有值
     */
    public static List<Object> lGet(String key, long start, long end) {
    public static List<?> lGet(String key, long start, long end) {
        try {
            return redisTemplate.opsForList().range(key, start, end);
        } catch (Exception e) {
@@ -556,7 +557,7 @@
     * @param value 值
     * @return true 存放成功 false存放失败
     */
    public static boolean lSet(String key, List<Object> value) {
    public static boolean lSet(String key, List<?> value) {
        try {
            redisTemplate.opsForList().rightPushAll(key, value);
            return true;