会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FkClass
博客园
首页
新随笔
联系
管理
订阅
2023年5月30日
jar包后台挂载
摘要: # 挂载命令 ```shell nohup java -jar 包名.jar >>日志文件名.log 2>&1 & ``` ## 后台端口占用 1. 查询被占用的进程号 ```shell netstat -lnp|grep 端口号 ``` 2. 杀进程 ```shell kill -9 进程号 ``
阅读全文
posted @ 2023-05-30 16:17 南橙K
阅读(24)
评论(0)
推荐(0)
2023年5月18日
Spring Boot整合Jwt
摘要: # JWT介绍 - JWT是JSON Web Token的缩写,即JSON Web令牌,是一种自包含令牌。 是为了在网络应用环境间传递声明而执行的一种基于JSON的开放标准。 - JWT的声明一般被用来在身份提供者和服务提供者间传递被认证的用户身份信息,以便于从资源服务器获取资源。比如用在用户登录上
阅读全文
posted @ 2023-05-18 21:47 南橙K
阅读(250)
评论(0)
推荐(1)
2023年5月17日
Spring Boot整合Mybatis Plus逆向工程
摘要: 1.导入依赖 主要导入Mybatis-Plus-generator版本需要与Mybatis-Plus版本一致 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-generator</artifactId> <v
阅读全文
posted @ 2023-05-17 17:06 南橙K
阅读(116)
评论(0)
推荐(0)
统一异常处理
摘要: Spring Boot中的统一异常处理 Result为封装传递给前端的包装类 全局异常处理 /** * Created with IntelliJ IDEA. * * @Author: KeYu * @Package: com.feiyu.common.exception * @Date: 2023
阅读全文
posted @ 2023-05-17 09:37 南橙K
阅读(94)
评论(0)
推荐(0)
2023年5月16日
SpringBoot整合Mybatis-Plus分页
摘要: 创建MP的配置类 package com.feiyu.common.config.mp; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.autoconfigure.Configur
阅读全文
posted @ 2023-05-16 22:41 南橙K
阅读(108)
评论(0)
推荐(0)
SpringBoot整合knife4j
摘要: ● knife4j是一个集 Swagger2和PoenApi为一体的增强解决方案 导入依赖 <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-starter</artifactId>
阅读全文
posted @ 2023-05-16 22:11 南橙K
阅读(147)
评论(0)
推荐(0)
公告