refactor: 移除 region 字段

This commit is contained in:
Ray.Hao committed 2024-06-28 13:03:23 +08:00
1 parent 7a590e2e9b
commit eeb8d4cf3b
2 files changed
+1 -6

No files matched your search

@@ -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]);
}
}
}