SpringBoot整合Redis

时间:2022-03-25 04:08:46
【文件属性】:
文件名称:SpringBoot整合Redis
文件大小:30KB
文件格式:RAR
更新时间:2022-03-25 04:08:46
springboot redis eureka 下载后创建userinfo表格,修改自己的数据库密码,直接访问127.0.0.1:8081到Eureka主页面,访问127.0.0.1:8081/hello.json可以访问查询数据库获得数据 创建表格的sql: CREATE TABLE `userinfo` ( `id` int(255) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `age` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
【文件预览】:
SpringBoot
----SpringBoot.iml(80B)
----src()
--------test()
--------main()
----target()
--------generated-test-sources()
--------generated-sources()
--------classes()
--------test-classes()
----.idea()
--------misc.xml(513B)
--------compiler.xml(531B)
--------uiDesigner.xml(9KB)
--------workspace.xml(44KB)
--------encodings.xml(172B)
----pom.xml(4KB)

网友评论