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