摘要: Spring Boot集成OpenFeign 阅读全文
posted @ 2023-07-15 11:21 摆烂ing 阅读(224) 评论(0) 推荐(0)
摘要: # 客户端函数通过网络调用服务器端函数 ![image](https://img2023.cnblogs.com/blog/3014930/202307/3014930-20230715084459667-248562927.png) 序列化:序列化是一种用来处理对象流的机制,所谓对象流也就是将对象 阅读全文
posted @ 2023-07-15 08:54 摆烂ing 阅读(18) 评论(0) 推荐(0)
摘要: # 创建全局异常处理器 ```java @RestControllerAdvice //声明当前这个类是全局异常处理器 public class GlobalExceptionHandler { /** * @ExceptionHandler指定当前这个方法就是一个异常处理方法,并且指定当前方法可以 阅读全文
posted @ 2023-06-30 17:25 摆烂ing 阅读(500) 评论(0) 推荐(0)
摘要: 1. 加依赖 ```xml com.baomidou mybatis-plus-boot-starter ``` 2. 在application.yml中加入mybatis-plus的配置信息 ``` mybatis-plus: mapper-locations: classpath:/mapper 阅读全文
posted @ 2023-06-28 12:53 摆烂ing 阅读(99) 评论(0) 推荐(0)
摘要: Gateway项目开发 阅读全文
posted @ 2023-06-27 23:51 摆烂ing 阅读(56) 评论(0) 推荐(0)
摘要: 跨域解决方案 阅读全文
posted @ 2023-06-27 22:53 摆烂ing 阅读(14) 评论(0) 推荐(0)
摘要: Git常用命令 阅读全文
posted @ 2023-06-27 21:48 摆烂ing 阅读(12) 评论(0) 推荐(0)
摘要: # 前端项目部署到nginx 1. 配置好本地的nodejs环境 2. 切换到前端项目所在的文件目录 3. 以命令行的方式运行`npm run build`命令 4. 命令执行成功会生成dist文件夹,将文件夹中的内容压缩上传到nginx_html数据卷对应的目录下 5. 执行解压命令`unzip 阅读全文
posted @ 2023-06-27 14:03 摆烂ing 阅读(155) 评论(0) 推荐(0)
摘要: Mybatis Plus逆向工程 阅读全文
posted @ 2023-06-25 10:14 摆烂ing 阅读(31) 评论(0) 推荐(0)
摘要: 原因:docker启动后,再对防火墙进行操作,就会产生这个问题 解决方法:重启docker服务`systemctl restart docker` 阅读全文
posted @ 2023-06-09 19:44 摆烂ing 阅读(342) 评论(0) 推荐(0)