摘要:
跨域问题老生常谈了, 前后端分离项目会用到,浏览器端的请求需要ip,协议,端口完全一直否则浏览器会拦截 普通: package com.example.openai.config; import org.springframework.context.annotation.Configuration 阅读全文
posted @ 2024-10-01 17:52
浮白呀
阅读(131)
评论(0)
推荐(0)
摘要:
认证异常处理 @Component public class Renzheng implements AuthenticationEntryPoint { @Override public void commence(HttpServletRequest httpServletRequest, Ht 阅读全文
posted @ 2024-10-01 16:16
浮白呀
阅读(90)
评论(0)
推荐(0)