摘要:
<!-- websocket --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> /** * 阅读全文
摘要:
//解析树 <div class="content_wrap" style="width: 20%;height:100%;border-right:1px #000000 solid;position:fixed;"> <div class="zTreeDemoBackground left"> 阅读全文
摘要:
public class ZtreeUtil { /** * 数据 * @param list * @return */ public static List<Map<String, Object>> econdingMap(List<ArticleType> list) { List<Map<St 阅读全文
摘要:
/** * redis * 工具类 * */ @Component public class RedisUtil { @Autowired private RedisTemplate<String, Object> redisTemplate; /** * 指定缓存失效时间 */ public bo 阅读全文
摘要:
# Redis数据库索引(默认为0) spring.redis.database=1 # Redis服务器地址 spring.redis.host=127.0.0.1 # Redis服务器连接端口 spring.redis.port=6379 # Redis服务器连接密码(默认为空) spring. 阅读全文
摘要:
/** * 登录拦截器 * @author Administrator * */ @Component public class LoginInterceptor implements HandlerInterceptor{//implements HandlerInterceptor @Overr 阅读全文
摘要:
public class GetQcCodeUtil { //获取二维码路径 private static final String WxCode_URL = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=ACCESS_T 阅读全文
摘要:
//合成图片 public class CounopUtil { private Font font = new Font("楷体", Font.PLAIN, 14);// 添加字体的属性设置 private Graphics2D g = null; private int fontsize = 0 阅读全文