提交修改
This commit is contained in:
parent
bb6924347f
commit
b7793fa3e7
@ -132,6 +132,7 @@ public class LogAop {
|
||||
// 如果方法和类上都没有配置NotIntercept注解 ,则需要拦截 ,是linux才进行拦截
|
||||
if (intercept && OsUtil.isLinux()) {
|
||||
String authConfig = request.getHeader("X-TCloudMarket-Custom-AuthConfig");
|
||||
log.info("LogAop X-TCloudMarket-Custom-AuthConfig authConfig:{}", authConfig);
|
||||
if (StringUtils.isBlank(authConfig) || !authConfig.startsWith("{")) {
|
||||
log.info("LogAop authConfig value:{} auth error ", authConfig);
|
||||
result = R.error("auth error");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user