refactor: 移除 region 字段

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

View File

@@ -48,11 +48,6 @@ public class SysLog implements Serializable {
*/
private String ip;
/**
* 地区
*/
private String region;
/**
* 省份
*/

View File

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