摘要: idea编译打包OK,本地指令部署mvn clean install,package都失败报错 问题:本地打包jdk版本可能不对 执行命令 mvn -v Apache Maven 3.9.14 (996c630dbc656c76214ce58821dcc58be960875b)Maven home: 阅读全文
posted @ 2026-04-20 16:34 白玉神驹 阅读(7) 评论(0) 推荐(0)
摘要: pmset -g disablesleep 1 机器永远不会睡 disablesleep 0 允许进入休眠 pmset -a sleep 0 作用:无论是否有软件阻止,系统本身永远不会触发休眠逻辑。 sudo pmset -a autorestart 1 作用:作为服务器,这是“无人值守”的核心配置 阅读全文
posted @ 2026-04-14 14:20 白玉神驹 阅读(47) 评论(0) 推荐(0)
摘要: 拆分 User = 基础信息 + 角色 + 权限 User → 基本信息(很稳定)Role → 角色集合(中等频率)Permission → 权限集合(高频变动) public Set<String> getUserPermissions(Long userId) { // 1️⃣ 查用户最终权限缓 阅读全文
posted @ 2025-12-19 00:14 白玉神驹 阅读(38) 评论(0) 推荐(0)
摘要: public User getUser(Long id) { // 1️⃣ 查 L1 User user = localCache.getIfPresent(id); if (user != null) { return user; } // 2️⃣ 查 L2 user = redisTemplat 阅读全文
posted @ 2025-12-19 00:11 白玉神驹 阅读(11) 评论(0) 推荐(0)
摘要: 一、下载gradle包并解压 https://services.gradle.org/distributions/gradle-8.10-bin.zip 二、配置环境变量 open -e ~/.zshrc export GRADLE_HOME=/Users/edy/usr/local/gradle- 阅读全文
posted @ 2025-11-18 15:17 白玉神驹 阅读(88) 评论(0) 推荐(0)
摘要: 问题: 若依系统分页工具返回列表转换后导致的分页total跟随pageSize变化 例如,数据库查询total是11,pageSize=1则返回total是1 解决方案 @GetMapping("/list") public TableDataInfo list(User user) { start 阅读全文
posted @ 2025-10-14 11:07 白玉神驹 阅读(18) 评论(0) 推荐(0)
摘要: 仓库插件地址:https://github.com/liuzhihang/doc-view/releases 在线安装: File -> Setting -> Plugins -> 搜索 Doc View 手动安装: 下载插件 -> File -> Setting -> Plugins -> Ins 阅读全文
posted @ 2025-10-10 14:58 白玉神驹 阅读(14) 评论(0) 推荐(0)
摘要: 打开终端执行 sudo xattr -rd com.apple.quarantine 把app文件移入终端 重新打开app即可 阅读全文
posted @ 2025-10-08 12:49 白玉神驹 阅读(15) 评论(0) 推荐(0)
摘要: 路由:请求标识→匹配 Service→调用 process 方法 通过自定义注解 @BusinessServiceMapping 标记具体业务 Service,注解值(如 DC 代表客户、ORD 代表订单)与请求参数中的业务标识关联;再通过 Spring 容器扫描 + 策略模式,实现 “请求标识→匹 阅读全文
posted @ 2025-09-19 11:39 白玉神驹 阅读(24) 评论(0) 推荐(0)
摘要: 克隆地址 git clone https://github.com/aaPanel/BillionMail 官方推荐docker-compose部署方式 cd /opt && git clone https://github.com/aaPanel/BillionMail && cd Billion 阅读全文
posted @ 2025-09-19 09:32 白玉神驹 阅读(323) 评论(2) 推荐(0)