xuhy
3 天以前 9961fd3e734552a21a30c12cea39ebf3ff57227f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.ruoyi.system.utils.wx.tools;
 
/**
 * @author xiaochen
 * @ClassName WxCacheTemplate
 * @Description
 * @date 2021-01-11 11:27
 */
public interface WxCacheTemplate<T> {
    /**
     * 保存key
     *
     * @param key
     * @param value
     * @return
     */
     boolean setKey(String key, T value);
 
    /**
     * 获取缓存
     *
     * @param key
     * @return
     */
    T getKey(String key);
 
    /**
     * 删除
     *
     * @param key
     * @return
     */
    boolean delKey(String key);
}