01 2020 档案
摘要:package com.liuchao; import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplicationRunListener; import org.sprin
阅读全文
摘要:<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> </parent> <!
阅读全文
摘要:<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.0.RELEASE</version> </dependency> servletCont
阅读全文
摘要:前后端API交互数据加密——AES与RSA混合加密完整实例 前言 前段时间看到一篇文章讲如何保证API调用时数据的安全性(传送门:https://blog.csdn.net/ityouknow/article/details/80603617),文中讲到利用RSA来加密传输AES的秘钥,用AES来加
阅读全文
摘要:<?xml version="1.0"?> <!DOCTYPE mycat:schema SYSTEM "schema.dtd"> <mycat:schema xmlns:mycat="http://io.mycat/"> <schema name="MYDB" checkSQLschema="fa
阅读全文
摘要:1、首先引入依赖 <!--dozer --> <dependency> <groupId>net.sf.dozer</groupId> <artifactId>dozer-spring</artifactId> <version>5.5.1</version> </dependency> <depe
阅读全文
摘要:<dependency> <groupId>io.searchbox</groupId> <artifactId>jest</artifactId> <version>6.3.1</version> </dependency> package com.liuchao.esdemo.config; i
阅读全文
摘要:1、安装elasticsearch 先要安装jdk8 (配置jdk8的环境变量) 下载地址: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-linux-x86_64.tar.gz tar -zxvf
阅读全文
摘要:导入jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> springsecurity的配置类
阅读全文