feat: 修复字段判断

This commit is contained in:
zengxiaobo 2024-05-28 15:33:56 +08:00
parent b975426dd2
commit d2e515ecec

View File

@ -83,7 +83,7 @@ public class AxContextInterceptor implements HandlerInterceptor {
return JSONObject.parseObject(StringUtils.removeStart(authorization, "Raw "), AxContext.class);
}
if (authorization.startsWith("Bearer")) {
if (Strings.isNullOrEmpty(authorization)) {
if (Strings.isNullOrEmpty(supplierHost)) {
return null;
}
String result;