dev
parent
2593c24b55
commit
bbb63db569
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue