提交修改

This commit is contained in:
quyixiao 2026-05-06 14:26:55 +08:00
parent bb6924347f
commit b7793fa3e7

View File

@ -132,6 +132,7 @@ public class LogAop {
// 如果方法和类上都没有配置NotIntercept注解 则需要拦截 ,是linux才进行拦截 // 如果方法和类上都没有配置NotIntercept注解 则需要拦截 ,是linux才进行拦截
if (intercept && OsUtil.isLinux()) { if (intercept && OsUtil.isLinux()) {
String authConfig = request.getHeader("X-TCloudMarket-Custom-AuthConfig"); String authConfig = request.getHeader("X-TCloudMarket-Custom-AuthConfig");
log.info("LogAop X-TCloudMarket-Custom-AuthConfig authConfig:{}", authConfig);
if (StringUtils.isBlank(authConfig) || !authConfig.startsWith("{")) { if (StringUtils.isBlank(authConfig) || !authConfig.startsWith("{")) {
log.info("LogAop authConfig value:{} auth error ", authConfig); log.info("LogAop authConfig value:{} auth error ", authConfig);
result = R.error("auth error"); result = R.error("auth error");