04 2020 档案
摘要:springboot1.x和2.x对于整合redis略有不同,需注意。 1、依赖、配置文件 先引入redis的starter: <!-- redis依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>
阅读全文
摘要:先上图: 本文根据的类: public class Add { public int add(){ int a = 1; int b = 2; int c = (a + b) * 100; return c; } public static void main(String[] args) { Ad
阅读全文

浙公网安备 33010602011771号