springBoot
沉默是零
这个作者很懒,什么都没留下…
展开
-
idea springBoot+zookeeperDubbo+mybatis+Redis+Mysql(二)
目录结构新建maven项目file->newProject新建4个maven项目分别为core 提供项目使用的工具 jar包interface 提供接口 jar包Provider 服务提供者 wer包Consumer 服务消费者 war包添加项目必要包修改pom.xml文件core pom<?xml version="1...原创 2019-06-21 19:15:47 · 1216 阅读 · 1 评论 -
idea springBoot+mybatis+Redis+Mysql(一)
准备环境zookeeper下载redis下载dubbo控制台需要jar源码下载dubbo控制台源码下载Redis桌面管理工具下载java8下载mysql下载2. 安装jdk下载可执行文件安装linux 压缩文件安装tar -zxvf filename.tar.gz设置环境变量windows:1)点击系统变量下面的新建按钮,变量名JAVA_HOME(代表你的...原创 2019-06-21 16:53:06 · 3360 阅读 · 0 评论 -
springBoot I18n 国际化配置
application.properties加入spring.messages.basename=i18n/messagesspring.messages.cache-seconds=-1spring.messages.encoding=UTF-8/** * @Description: 国际化配置 * @author: jxc * @date: 2019/6/27 1:18 PM...原创 2019-06-28 12:20:40 · 341 阅读 · 0 评论 -
读取post请求Body内容
/** * @Description: 读取Body内容 * @author: jxc * @date: 2019/6/26 5:42 PM * @version: V1.0 * @Software: IntelliJ IDEA */public class ReaderBodyHttpServletRequest extends HttpServletRequestWrapper{...原创 2019-06-28 12:35:16 · 2970 阅读 · 0 评论 -
登陆拦截器国际化使用
/** * @Description: 拦截器配置 * @author: jxc * @date: 2019/6/19 5:30 PM * @version: V1.0 * @Software: IntelliJ IDEA */@Configurationpublic class LogosInterceptorConfig extends WebMvcConfigurerAdap...原创 2019-06-28 12:46:00 · 239 阅读 · 0 评论