项目问题及源码追溯
烁华
这个作者很懒,什么都没留下…
展开
-
初次运用oss上传文件
Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, H原创 2021-02-08 20:29:02 · 204 阅读 · 0 评论 -
在XXX项目中遇到403拒绝访问的问题
刚开始去看浏览器控制台上所报的错误,刚开始以为是前端代码vue中的min属性错误,因为前端代码不是我写的,后端刚开始也是没有响应报错,之前后端代码的各个接口测试所获取的数据都是没有问题的,然后我在后端代码上进行调试处理,发现前端回写的数据根本就传不到后端,最后在浏览器network窗口看到报出403错误,经过查看后发现后台接口方法是接收post请求,而前端用的是get发送请求,难怪前端数据无法传到后端。 ...原创 2021-02-08 15:23:47 · 720 阅读 · 0 评论 -
MyBatis-Plus使用PaginationInterceptor插件实现分页操作出现total为0的问题并简单追溯其底层操作
在配置类中配置插件 @Configuration @MapperScan("com.hua.eduService.mapper") public class EduConfig { /** * 配置分页插件 */ public PaginationInterceptor paginationInterceptor(){ return new PaginationInterceptor(); } } 逻辑程序操作没问题,原因是在配置插件的时候忘记原创 2021-02-06 19:36:07 · 964 阅读 · 0 评论