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.jilongda.applet.wx.utils;
|
| /**
| * @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);
| }
|
|