![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
配置
潇潇暮雨子规啼~
这个作者很懒,什么都没留下…
展开
-
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)###数据库表departmentstudentSSM整合依赖<!--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 评论