摘要:
#阿里云OSS对象存储服务 准备工作 1、在service模块新建子模块service_oss 2、引入pom.xml文件中引入oss服务依赖 <dependencies> <!--aliyunOSS--> <dependency> <groupId>com.aliyun.oss</groupId> 阅读全文
摘要:
前端增删改查,只记录部分关键步骤 #1、配置页面路由 { path: '/teacher', component: Layout, redirect: '/teacher/table', name: '讲师管理', meta: { title: '讲师管理', icon: 'example' }, 阅读全文
摘要:
前端分页: element-UI分页组件 <!-- 分页 --> <el-pagination :current-page="page" :page-size="size" :total="total" style="padding: 30px 0; text-align: center;" lay 阅读全文
摘要:
一、添加路由 { path: '/teacher', component: Layout, redirect: '/teacher/table', //重定向跳转 name: '讲师管理', meta: { title: '讲师管理', icon: 'example' }, //title页面标题, 阅读全文
摘要:
一、跨域问题 当通过一个地址去访问另一个地址的过程中,有三个地方的任何一个不一样就会存在跨域问题,前后端交互的项目经常遇到跨域问题。 协议 ip地址 端口号 本项目前端: http://localhost:9528/ 后端: http://localhost:8989/ 端口号不一致存在跨域问题 阅读全文
摘要:
一、vue-element-admin 1、简介 而vue-element-admin是基于element-ui 的一套后台管理系统集成方案。 **功能:**https://panjiachen.github.io/vue-element-admin-site/zh/guide/#功能 **GitH 阅读全文
摘要:
#异常处理 异常处理 在公共配置模块添加异常处理器配置类 @ControllerAdvice @Slf4j public class GlobalExceptionHandler { @ExceptionHandler(Exception.class) //指定出现什么异常执行这个方法,此处指定的是 阅读全文
摘要:
#查 ##普通分页查询 开始阶段将所有业务写道控制层里便于理解,后续再逐渐拆分 1、配置类中引入MP分页组件 //分页组件 @Bean public PaginationInterceptor paginationInterceptor(){ return new PaginationInterce 阅读全文