日志修改
This commit is contained in:
parent
7a69f94343
commit
b4d37542fd
@ -134,15 +134,11 @@ public class OperLogAspect {
|
||||
if ("200".equals(json.getStr("code"))) {
|
||||
JSONObject jsonObject = json.getJSONObject("result");
|
||||
String userId = jsonObject.getStr("userId");
|
||||
if (StringUtils.isNotEmpty(userId)) {
|
||||
operlog.setOperUserId(userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
operationLogService.save(operlog);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
operationLogService.save(operlog);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("error:", e);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user