
spring boot 缓存之@CacheConfig公共抽取配置
一个个定义缓存组件名称package com.laoxu.cache.service.impl;import com.laoxu.cache.bean.Employee;import com.laoxu.cache.mapper.EmployeeMapper;import com.laoxu.cache.service......
一个个定义缓存组件名称package com.laoxu.cache.service.impl;import com.laoxu.cache.bean.Employee;import com.laoxu.cache.mapper.EmployeeMapper;import com.laoxu.cache.service......
1、创建项目NextNextNextfinishspring boot 整合 mybatis省略启动类上加上允许缓存注解package com.laoxu.cache;import org.mybatis.spring.annotation.MapperScan;import org.springframework.b......
1、创建空项目2、创建自定义starter模块Ctrl + Shift + S 打开项目结构选择MavenNextNext3、创建spring boot自动配置模块Ctrl + Shift + S 打开项目结构NextNext4、打开自动配置模块的pom文件复制坐标groupIdcom.laoxu.startergro......
1、登录网址:http:patorjk.comsoftwaretaag编辑好banner字样2、在项目的resources目录下创建banner.txt文件3、将编辑好的字样复制进banner.txt文件中去启动项目就有了!
1、创建自定义注解2、定义自定义注解package cn.ucmed.merger.customaAnotation;import java.lang.annotation.*;@Target{ElementType.METHOD, ElementType.TYPE}@RetentionRetentionPolicy.......