refactor: 移除 region 字段
This commit is contained in:
@@ -48,11 +48,6 @@ public class SysLog implements Serializable {
|
||||
*/
|
||||
private String ip;
|
||||
|
||||
/**
|
||||
* 地区
|
||||
*/
|
||||
private String region;
|
||||
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
|
||||
@@ -75,7 +75,7 @@ public class LogAspect {
|
||||
String[] regionArray = region.split("\\|");
|
||||
if (regionArray.length > 2) {
|
||||
log.setProvince(regionArray[2]);
|
||||
log.setRegion(regionArray[3]);
|
||||
log.setCity(regionArray[3]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user