随笔集
共 8 篇文章
使用Redis存储JSON时的注意事项
public Result queryById(Long id) {` if (id == null) { return Result.fail("id为空"); } String key = CACHE_SHOP_KEY + id; String s
约 5 分钟
Java
,
后端
,
Redis
不同平台输出环境变量
Linux: echo $PATH Windows cmd窗口 echo %PATH% Windows PowerShell $env:PATH
约 5 分钟
Shell
,
笔记
进程相关命令
windows端口被占用 #查询端口 netstat -ano #查询指定端口 netstat -ano | findsta "端口号" #根据进程pid查询进程名称 tasklist | findstr "进程pid" # 根据pid杀死进程 taskkill -f -pid "进程pid"
约 5 分钟
Linux
,
Shell