配置
潇潇暮雨子规啼~
这个作者很懒,什么都没留下…
展开
-
vue+axsios+Springboot前后端跨域及get请求和post请求的区别
在前后端都没有进行跨域操作时,发送请求就会报这样的错误 用前端代码跨域 浏览器有同源策略的限制所以需要用代理服务器中转 在config的index.js文件中 dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { '/api': { target: 'http://192.168.1.4:8080/', // 你请求的第三方接口原创 2020-10-09 22:14:20 · 370 阅读 · 0 评论 -
SSM整合的配置
SSM整合 整合概述 Spring4.3.4+SpringMVC+Mybatis3.5.2整合 整合流程: 创建maven-webapp项目 导入相关依赖 添加配置文件(xml,注解) 编写java代码(entity,dao,service,dto,controller) ###数据库表 department student SSM整合依赖 <!--springframework J...原创 2019-10-15 20:47:22 · 216 阅读 · 0 评论 -
Mybatis配置
基于注解 @Insert("insert into admin(name,age) values(#{name},#{age})") int inserAdmin(Admin a); @Delete("delete from admin where id=#{id}") boolean deleteAdmin(@Param("id") int id); @Up...原创 2019-09-26 19:30:38 · 123 阅读 · 0 评论 -
修改Maven默认的JDK编译环境
方案一:修改项目级别pom.xml(项目级别) <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>m...原创 2019-10-06 15:18:09 · 326 阅读 · 0 评论