会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
市丸银
知行合一
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
36
37
38
39
40
41
42
43
44
···
98
下一页
2020年8月10日
springboot 多个url对应一个view
摘要: @GetMapping({"/index", "/yy"}) private String index(){ return "index"; } 访问 /index 和 访问 /yy 的效果一致
阅读全文
posted @ 2020-08-10 16:38 市丸银
阅读(607)
评论(0)
推荐(0)
2020年8月5日
爬虫 开启定时任务
摘要: 1、导入模块 import datetime import time 2、代码 def time_task(): while True: now = datetime.datetime.now() # print(now.hour, now.minute) if now.hour == 0 and
阅读全文
posted @ 2020-08-05 17:49 市丸银
阅读(283)
评论(0)
推荐(0)
2020年8月4日
linux 安装 mongdb
摘要: 1、参考 https://www.cnblogs.com/gme5/p/11765151.htmlhttps://blog.csdn.net/qq_43475458/article/details/107123220https://blog.csdn.net/qq_41259576/article/
阅读全文
posted @ 2020-08-04 22:16 市丸银
阅读(123)
评论(0)
推荐(0)
2020年7月30日
centos 7 安装 redis
摘要: https://www.cnblogs.com/zuidongfeng/p/8032505.html 注意:先开启远程连接,在开启后台运行,即cp 到6379.config https://www.it1352.com/1530005.html
阅读全文
posted @ 2020-07-30 08:45 市丸银
阅读(104)
评论(0)
推荐(0)
2020年7月25日
springboot 整合mybatis
摘要: 一、前提条件:连接数据库 二、步骤 1、导包 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.3</ve
阅读全文
posted @ 2020-07-25 11:55 市丸银
阅读(171)
评论(0)
推荐(0)
2020年7月24日
springboot 整合Druid
摘要: 过程 1、导入包 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.12</version> </dependency> 2、配置application.yml文件 spri
阅读全文
posted @ 2020-07-24 23:36 市丸银
阅读(183)
评论(0)
推荐(0)
springboot 整合JDBC
摘要: 前提:配置数据库连接(见前面) 一、步骤 1、导包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> 2、操
阅读全文
posted @ 2020-07-24 23:18 市丸银
阅读(194)
评论(0)
推荐(0)
springboot 连接数据库
摘要: 一、mysql8 以上 步骤 1、导包 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.11</version> </dependency> 注意:根据数
阅读全文
posted @ 2020-07-24 22:45 市丸银
阅读(531)
评论(0)
推荐(0)
layui 前端模块化组件
摘要: https://www.layui.com/
阅读全文
posted @ 2020-07-24 20:47 市丸银
阅读(375)
评论(0)
推荐(0)
springboot 国际化
摘要: i18n 在resiurce下创建i18n文件夹 修改yaml文件 spring: messages: basename: i18n.login 4、修改模板 thymeleaft语法 #{login.tip} 国际化 添加语言配置
阅读全文
posted @ 2020-07-24 07:23 市丸银
阅读(180)
评论(0)
推荐(0)
上一页
1
···
36
37
38
39
40
41
42
43
44
···
98
下一页
公告