feat:初始数据修复
parent
35e0610eb8
commit
85988e297f
File diff suppressed because it is too large
Load Diff
|
@ -231,6 +231,7 @@ public class SysConfigServiceImpl implements ISysConfigService {
|
||||||
writeData(fileDir, "thingModel", SpringUtils.getBean(IThingModelData.class));
|
writeData(fileDir, "thingModel", SpringUtils.getBean(IThingModelData.class));
|
||||||
writeData(fileDir, "userInfo", SpringUtils.getBean(IUserInfoData.class));
|
writeData(fileDir, "userInfo", SpringUtils.getBean(IUserInfoData.class));
|
||||||
writeData(fileDir, "virtualDevice", SpringUtils.getBean(IVirtualDeviceData.class));
|
writeData(fileDir, "virtualDevice", SpringUtils.getBean(IVirtualDeviceData.class));
|
||||||
|
writeData(fileDir, "pluginInfo", SpringUtils.getBean(IPluginInfoData.class));
|
||||||
String zipPath = fileDir.getAbsolutePath() + ".zip";
|
String zipPath = fileDir.getAbsolutePath() + ".zip";
|
||||||
ZipUtil.zip(fileDir.getAbsolutePath(), zipPath);
|
ZipUtil.zip(fileDir.getAbsolutePath(), zipPath);
|
||||||
return new File(zipPath);
|
return new File(zipPath);
|
||||||
|
|
Loading…
Reference in New Issue