mirror of
https://github.com/dqjdda/Aurora.git
synced 2018-11-06 05:33:29 +00:00
去除大量无用文件,上传页面优化,代码优化,更新sql文件
This commit is contained in:
@@ -17,8 +17,6 @@ import java.lang.reflect.Method;
|
||||
*/
|
||||
public class AddressUtils {
|
||||
|
||||
static String region = "内网IP|0|0|内网IP|内网IP";
|
||||
|
||||
private AddressUtils() {
|
||||
}
|
||||
|
||||
@@ -57,7 +55,7 @@ public class AddressUtils {
|
||||
/**
|
||||
* 太难看了,转换下
|
||||
*/
|
||||
return dataBlock.getRegion().equals(region)?"内网IP":dataBlock.getRegion();
|
||||
return dataBlock.getRegion().equals(AuroraConstant.REGION)?"内网IP":dataBlock.getRegion();
|
||||
} catch (Exception e) {
|
||||
log.error("获取地址信息异常:{}", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user