update 更新LogininforEvent实体类名称为logininforEvent

Signed-off-by: 梁剑锋 <1822213252@qq.com>
feature/model
梁剑锋 2 years ago committed by Gitee
parent 409849db1a
commit e1efdb8602
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -141,12 +141,12 @@ public class SysLoginService {
* @return * @return
*/ */
private void recordLogininfor(String username, String status, String message) { private void recordLogininfor(String username, String status, String message) {
LogininforEvent logininforDTO = new LogininforEvent(); LogininforEvent logininforEvent = new LogininforEvent();
logininforDTO.setUsername(username); logininforEvent.setUsername(username);
logininforDTO.setStatus(status); logininforEvent.setStatus(status);
logininforDTO.setMessage(message); logininforEvent.setMessage(message);
logininforDTO.setRequest(ServletUtils.getRequest()); logininforEvent.setRequest(ServletUtils.getRequest());
SpringUtils.context().publishEvent(logininforDTO); SpringUtils.context().publishEvent(logininforEvent);
} }
/** /**

@ -95,12 +95,12 @@ public class SysRegisterService {
* @return * @return
*/ */
private void recordLogininfor(String username, String status, String message) { private void recordLogininfor(String username, String status, String message) {
LogininforEvent logininforDTO = new LogininforEvent(); LogininforEvent logininforEvent = new LogininforEvent();
logininforDTO.setUsername(username); logininforEvent.setUsername(username);
logininforDTO.setStatus(status); logininforEvent.setStatus(status);
logininforDTO.setMessage(message); logininforEvent.setMessage(message);
logininforDTO.setRequest(ServletUtils.getRequest()); logininforEvent.setRequest(ServletUtils.getRequest());
SpringUtils.context().publishEvent(logininforDTO); SpringUtils.context().publishEvent(logininforEvent);
} }
} }

Loading…
Cancel
Save