用token和redis解决跨域问题,实现用户验证
逻辑:登录发送的前端请求$.ajax({ url: 'http://localhost:8080/user/login', type: "POST", data:{"phone":phone,"password":password}, xhrFields: { withCredentials: true }, async: false, success:function(data) {
原创
2021-02-19 18:29:47 ·
723 阅读 ·
0 评论