提交修改
This commit is contained in:
parent
c73d6c7051
commit
e248af6715
@ -121,7 +121,8 @@ public class LogAop {
|
|||||||
if (intercept && classMethodConfigNotIntercept) {
|
if (intercept && classMethodConfigNotIntercept) {
|
||||||
String authConfig = request.getHeader("X-TCloudMarket-Custom-AuthConfig");
|
String authConfig = request.getHeader("X-TCloudMarket-Custom-AuthConfig");
|
||||||
if (StringUtils.isBlank(authConfig) || !authConfig.startsWith("{")) {
|
if (StringUtils.isBlank(authConfig) || !authConfig.startsWith("{")) {
|
||||||
return R.error("auth error");
|
result = R.error("auth error");
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, Object> authConfigMap = JSONObject.parseObject(authConfig, Map.class);
|
Map<String, Object> authConfigMap = JSONObject.parseObject(authConfig, Map.class);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user