forked from elunez/eladmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhengjie
committed
May 24, 2019
1 parent
90c2bf9
commit 784d670
Showing
49 changed files
with
337 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
### IntelliJ IDEA ### | ||
### IDEA ### | ||
.idea/* | ||
*.iml | ||
*/target/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
eladmin-logging/src/main/java/me/zhengjie/service/dto/LogErrorDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package me.zhengjie.service.dto; | ||
|
||
import lombok.Data; | ||
import java.io.Serializable; | ||
import java.sql.Timestamp; | ||
|
||
/** | ||
* @author jie | ||
* @date 2019-5-22 | ||
*/ | ||
@Data | ||
public class LogErrorDTO implements Serializable { | ||
|
||
private Long id; | ||
|
||
/** | ||
* 操作用户 | ||
*/ | ||
private String username; | ||
|
||
/** | ||
* 描述 | ||
*/ | ||
private String description; | ||
|
||
/** | ||
* 方法名 | ||
*/ | ||
private String method; | ||
|
||
/** | ||
* 参数 | ||
*/ | ||
private String params; | ||
|
||
/** | ||
* 请求ip | ||
*/ | ||
private String requestIp; | ||
|
||
|
||
/** | ||
* 创建日期 | ||
*/ | ||
private Timestamp createTime; | ||
} |
34 changes: 34 additions & 0 deletions
34
eladmin-logging/src/main/java/me/zhengjie/service/dto/LogSmallDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package me.zhengjie.service.dto; | ||
|
||
import lombok.Data; | ||
|
||
import java.io.Serializable; | ||
import java.sql.Timestamp; | ||
|
||
/** | ||
* @author jie | ||
* @date 2019-5-22 | ||
*/ | ||
@Data | ||
public class LogSmallDTO implements Serializable { | ||
|
||
/** | ||
* 描述 | ||
*/ | ||
private String description; | ||
|
||
/** | ||
* 请求ip | ||
*/ | ||
private String requestIp; | ||
|
||
/** | ||
* 请求耗时 | ||
*/ | ||
private Long time; | ||
|
||
/** | ||
* 创建日期 | ||
*/ | ||
private Timestamp createTime; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
eladmin-logging/src/main/java/me/zhengjie/service/mapper/LogErrorMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package me.zhengjie.service.mapper; | ||
|
||
import me.zhengjie.domain.Log; | ||
import me.zhengjie.mapper.EntityMapper; | ||
import me.zhengjie.service.dto.LogErrorDTO; | ||
import org.mapstruct.Mapper; | ||
import org.mapstruct.ReportingPolicy; | ||
|
||
/** | ||
* @author jie | ||
* @date 2019-5-22 | ||
*/ | ||
@Mapper(componentModel = "spring",uses = {},unmappedTargetPolicy = ReportingPolicy.IGNORE) | ||
public interface LogErrorMapper extends EntityMapper<LogErrorDTO, Log> { | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
eladmin-logging/src/main/java/me/zhengjie/service/mapper/LogSmallMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package me.zhengjie.service.mapper; | ||
|
||
import me.zhengjie.domain.Log; | ||
import me.zhengjie.mapper.EntityMapper; | ||
import me.zhengjie.service.dto.LogSmallDTO; | ||
import org.mapstruct.Mapper; | ||
import org.mapstruct.ReportingPolicy; | ||
|
||
/** | ||
* @author jie | ||
* @date 2019-5-22 | ||
*/ | ||
@Mapper(componentModel = "spring",uses = {},unmappedTargetPolicy = ReportingPolicy.IGNORE) | ||
public interface LogSmallMapper extends EntityMapper<LogSmallDTO, Log> { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.