![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Springboot+Vue
文章平均质量分 85
Ly_cat
软件。一路学习,嘈嘈杂杂的勿扰~
展开
-
前端Vue 项目数据请求跨域问题:The value of the ‘Access-Control-Allow-Origin‘ header in the response must not be t
1. 报错问题console报错如下:Access to XMLHttpRequest at 'https://xxxxxx/system/users?totalPages=1&totalCount=1&page=1&name=&realName=&roleId=&mobile=&sex=&email=' from origin 'http://localhost:8080' has been blocked by CORS pol.原创 2021-07-24 22:23:09 · 4278 阅读 · 1 评论 -
【前后端分离】Springboot实现Kaptcha生成验证码、Graphics 2D随机验证码(两种样式) | 通过Vue显示到前端页面
目录一、kaptcha实现代码1. 引入坐标依赖2. CaptchaConfig3. CaptchaController4. 配置端口5. 应用程序启动入口二、Graphics 2D实现CaptchaConfig2Captcha2Controller三、前端 Vue项目Login.vuevue.config.js四、源码下载效果图:通过Graphics 2D实现:通过kaptcha实现:一、kaptcha实现代码1. 引入坐标依赖首先在Springboot项目下的pom下加入依赖坐标:原创 2021-06-09 08:43:22 · 3304 阅读 · 18 评论