摘要: nvm NVM: Node Version Manager 下载地址 Mac/Linux安装 nvm:https://github.com/nvm-sh/nvm Windows 安装 nvm:https://github.com/coreybutler/nvm-windows 下载 nvm-setu 阅读全文
posted @ 2021-12-06 23:22 不二橘子酱 阅读(64) 评论(0) 推荐(0) 编辑
摘要: MySQL 连接字符串 MySQL 5.7 jdbc.drive=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false 阅读全文
posted @ 2021-12-05 17:56 不二橘子酱 阅读(173) 评论(0) 推荐(0) 编辑
摘要: public interface BaseMapper<T> extends Mapper<T> { // 根据传入的实体对象参数,插入一条记录 —— insert into user(id,name,age,email) values (?,?,?,?) int insert(T entity); 阅读全文
posted @ 2023-01-29 16:32 不二橘子酱 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 在控制台输入初始化命令:npm init 在输入命令之后一直点回车 然后输入命令:npm i miniprogram-sm-crypto --production 最后再去微信开发者工具中点击:工具 -> 构建npm,就能成功了 阅读全文
posted @ 2023-01-19 18:05 不二橘子酱 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 常用代理设置,以本机安装clash为例:代理地址 http://127.0.0.1:7890 CMD # 设置http代理 set http_proxy=http://127.0.0.1:7890 set https_proxy=http://127.0.0.1:7890 # 设置socks5代理 阅读全文
posted @ 2022-12-20 11:41 不二橘子酱 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: ArrayList 概述 ArrayList 是一种变长的集合类,底层是基于数组来实现的,所以 ArrayList 查询效率高、增删效率低 ArrayList 集合中的元素是有序、可重复的,且可以存储 null 空值 当每次向 ArrayList 容器中添加元素时,会进行容量检查:当往 ArrayL 阅读全文
posted @ 2022-11-14 03:34 不二橘子酱 阅读(92) 评论(0) 推荐(0) 编辑
摘要: | MyBatis注解 | 说明 | | | | | @Select | 查询语句 | | @Insert | 添加语句 | | @Update | 更新语句 | | @Delete | 删除语句 | | @MapKey | 当返回值类型为Map时,设置Map的主键列名 | HelloWorld 全 阅读全文
posted @ 2022-03-30 11:27 不二橘子酱 阅读(20) 评论(0) 推荐(0) 编辑
摘要: | 注解 | 说明 | | | | | @RequestMapping | 告诉SpringMVC,这个方法用来处理什么请求 | | @PathVariable | 接收请求路径中占位符的值 | | @RequestParam | 获取请求参数;默认请求参数必须有否则报错 | | @RequestH 阅读全文
posted @ 2022-03-27 22:36 不二橘子酱 阅读(27) 评论(0) 推荐(0) 编辑
摘要: | Spring常用注解 | 说明 | | | | | @Controller | 控制器层注解 | | @Service | 业务逻辑层注解 | | @Repository | 数据持久化层注解 | | @Component | 给不属于以上几层的组件添加这个注解 | | @Autowired | 阅读全文
posted @ 2022-02-22 22:43 不二橘子酱 阅读(38) 评论(0) 推荐(0) 编辑
摘要: // 注册Servlet @WebServlet(name = "helloServlet", value = "/hello-servlet") // 注册过滤器 @WebFilter(filterName = "HelloFilter", urlPatterns = {"/*"}) // 注册监 阅读全文
posted @ 2022-02-14 15:47 不二橘子酱 阅读(26) 评论(0) 推荐(0) 编辑
摘要: $$ 操作步骤 \begin{cases} \text{注册驱动——加载Driver类}\ \text{获取连接——得到Connection对象}\ \text{获取执行SQL语句的对象——Statement/PreparedStatement/CallableStatement}\ \text{执 阅读全文
posted @ 2022-02-03 18:14 不二橘子酱 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 运维篇 日志 主从复制 分库分表 读写分离 ==待续== 阅读全文
posted @ 2022-01-29 16:23 不二橘子酱 阅读(18) 评论(0) 推荐(0) 编辑