fix
parent
511f2f2b3d
commit
f0cc333429
|
@ -80,6 +80,7 @@ public class STableManager {
|
|||
try {
|
||||
String tableName = clazz.getAnnotation(Table.class).name();
|
||||
String path = SysUtil.getPath("conf", "server", tableName + ".txt");
|
||||
System.out.println("=============="+path);
|
||||
File file = new File(path);
|
||||
String line;
|
||||
List<String> key = new ArrayList<>();
|
||||
|
|
|
@ -33,6 +33,8 @@ public class SysUtil {
|
|||
StringBuilder path = new StringBuilder();
|
||||
if (SysUtil.isWindows()) {// Window 系统
|
||||
path.append(new File(".").getCanonicalPath()).append(File.separator);
|
||||
}else {
|
||||
path.append("..\\");
|
||||
}
|
||||
return path.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue