!265 update 更新LogininforEvent实体类名称为logininforEvent

Merge pull request !265 from 梁剑锋/dev
feature/model
疯狂的狮子Li 2 years ago committed by Gitee
commit 8448bcdc6d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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

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

Loading…
Cancel
Save