摘要: 原文链接: https://www.jianshu.com/p/d878cec71753 步骤: 1. pip install alembic 2.迁移命令: 1.alembic revision --autogenerate -m "create_user_table" 2.alembic upg 阅读全文
posted @ 2021-06-07 17:14 风中飞儿 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 ``` (venv) [ms@localhost ttsx_exercide]$ pip install django-haystack (venv) [ms@localhost ttsx_exercide]$ pip install whoosh ``` 2. 注册应用 ``` (ve 阅读全文
posted @ 2021-05-05 21:05 风中飞儿 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 重写的定义: 定义:在子类中可以根据需要对从父类中继承来的方法进行改造,也称 为方法的重置、覆盖。在程序执行时,子类的方法将覆盖父类的方法。 要求: 1. 子类重写的方法必须和父类被重写的方法具有相同的方法名称、参数列表 2. 子类重写的方法的返回值类型不能大于父类被重写的方法的返回值类型 3. 阅读全文
posted @ 2021-01-21 14:15 风中飞儿 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package day04;public class ArrTest2 { /* 数组的二分法查找: 查找注意事项: 1.对于一个有序的数组从中间查找,如果目标值比中间的索引值大,则说明值在右边,否则值在左边,继续往下查找 */ public static void main(String[] ar 阅读全文
posted @ 2021-01-19 04:13 风中飞儿 阅读(53) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013317848/article/details/106202023 阅读全文
posted @ 2020-12-21 11:21 风中飞儿 阅读(66) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <suite name="All Test Suite"> <test verbose="1" pres 阅读全文
posted @ 2020-12-08 07:06 风中飞儿 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1、将.idea目录加入ignore清单.gitignore内容: /.idea//part00-common/target//part01-lambda/target/ 2、从git中删除idea git rm --cached -r .idea 3、将.gitignore文件加入git git 阅读全文
posted @ 2020-11-16 09:33 风中飞儿 阅读(2541) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000014937197 阅读全文
posted @ 2020-09-14 10:25 风中飞儿 阅读(317) 评论(0) 推荐(0) 编辑
摘要: springboot 2.3.1 版本 application.properties 数据库URL链接加入 charset=gbk 即可 ,数据库和表字段保持UTF-8格式编码 spring.datasource.url=jdbc:mysql://localhost:3306/mybatis_plu 阅读全文
posted @ 2020-08-18 23:33 风中飞儿 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 1. 导入 相关pom config 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional 阅读全文
posted @ 2020-08-11 16:48 风中飞儿 阅读(372) 评论(0) 推荐(0) 编辑