Fork me on GitHub
上一页 1 2 3 4 5 6 7 ··· 94 下一页
摘要: SpringSecurity 认证(Authentication) pom.xml 在pom.xml中引入springboot及springsecurity <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring 阅读全文
posted @ 2025-09-01 21:26 秋夜雨巷 阅读(7) 评论(0) 推荐(0)
摘要: 认证、授权、鉴权与权限控制 在后端开发中存在 认证(Authentication)、授权(Authorization)、鉴权(Access Control)和 权限控制(Permission Control)。 1. 认证(Authentication) 我是谁? 系统需要确认“你是不是你”。 1. 阅读全文
posted @ 2025-09-01 11:22 秋夜雨巷 阅读(58) 评论(0) 推荐(0)
摘要: 常见方案 1.ACCEPT_CASE_INSENSITIVE_PROPERTIES: true 2.property-naming-strategy: SNAKE_CASE 3.@JsonProperty 注解 例如 @Getter @Setter public class Student { pr 阅读全文
posted @ 2025-08-28 11:19 秋夜雨巷 阅读(39) 评论(0) 推荐(0)
摘要: dynamic-datasource多数据源 请求 → AOP 拦截 → 动态切换 → Druid 连接池 → Mapper 执行 SQL https://baomidou.com/guides/dynamic-datasource/ pom.xml引入 <dependency> <groupId> 阅读全文
posted @ 2025-08-25 19:58 秋夜雨巷 阅读(45) 评论(0) 推荐(0)
摘要: 官网 MyBatis-Plus + FastAutoGenerator + Freemarker 模板体系代码生成 https://baomidou.com/reference/new-code-generator-configuration/ 一、POM 依赖 <dependencies> <!- 阅读全文
posted @ 2025-08-20 21:26 秋夜雨巷 阅读(18) 评论(0) 推荐(0)
摘要: 目录组织:职责分层优先 vs 业务聚合优先 在日常的项目开发中,常见的两种目录组织思路是 职责分层优先 和 业务聚合优先。 一、职责分层优先 按照软件架构中常见的分层方式,将代码根据职责来分类。常见的分层有: •Controller 层:负责接收请求、返回结果 •Service 层:封装业务逻辑 • 阅读全文
posted @ 2025-08-19 21:26 秋夜雨巷 阅读(7) 评论(0) 推荐(0)
摘要: 位序(Bit Order)与字节序(Byte Order) •字节序(Byte Order) → 多字节的先后顺序(大端、小端) •位序(Bit Order) → 单字节的先后顺序(低位先、高位先) 位序(Bit Order) 概念:一个字节内部的各个位在传输或存储时的顺序。日常使用中的位序基本上都 阅读全文
posted @ 2025-08-13 14:44 秋夜雨巷 阅读(38) 评论(0) 推荐(0)
摘要: 1. AGI(Artificial General Intelligence) 定义:通用人工智能,具有人类级别的理解、推理和跨领域学习能力。 特点: 跨领域适应能力。 自主学习、推理和规划。 理论上能处理任何认知任务。 现状:尚未完全实现,目前的 GPT、Claude 等属于狭义人工智能(ANI) 阅读全文
posted @ 2025-08-08 21:26 秋夜雨巷 阅读(49) 评论(0) 推荐(0)
摘要: 方案一:部署编译后的文件(线上) npm run build:prod 上传编译出来的dist-prod文件夹到服务器 nginx配置文件 server { listen 80; index index.php index.html index.htm default.php default.htm 阅读全文
posted @ 2025-08-07 21:26 秋夜雨巷 阅读(182) 评论(0) 推荐(0)
摘要: MinIO 官网: https://www.min.io 一、对象存储是什么? 对象存储(Object Storage)是一种现代化的数据管理方式,将每个文件视为“对象”,并配有唯一的 key 和元数据。相较传统的文件系统,它更适合非结构化数据,如: 图片、音视频 日志、备份 AI 模型与训练数据 阅读全文
posted @ 2025-08-01 21:50 秋夜雨巷 阅读(209) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 94 下一页