lisai17@sina.com 2020-10-13 15:19:08 +08:00
parent 2593c24b55
commit bbb63db569
2 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class Config extends JFinalConfig {
public static DeviceThread deviceThread = new DeviceThread(); public static DeviceThread deviceThread = new DeviceThread();
public static SocketIOService socketio = null; public static SocketIOService socketio = null;
private static boolean client_run = true; private static boolean client_run = true;
public static final String CLINET_VERSION = "20201011"; public static final String CLINET_VERSION = "20201013";
public static String getRootPath() { public static String getRootPath() {
return PathKit.getWebRootPath() return PathKit.getWebRootPath()

View File

@ -317,6 +317,7 @@ public class TransportSyncService {
CliCacheData.nowWeightMap.put(which, null); CliCacheData.nowWeightMap.put(which, null);
// 数据库保存成功后,立马上传 // 数据库保存成功后,立马上传
// 新增的 Transport 要立马上传不能等定时任务上传避免出现还没有save就去update
SyncTaskService.me.send(synctask); SyncTaskService.me.send(synctask);
} }