Browse Source

REPORT-19834 设计器/APP回传服务器固化信息

* commit '59389a0d8572abdd953e6a0db6950c6992be007c':
  补充日志
feature/big-screen
Alex.Sung 5 years ago
parent
commit
69adc77fd7
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/solid/SolidCollector.java

4
designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/solid/SolidCollector.java

@ -51,10 +51,11 @@ public class SolidCollector {
if (WorkContext.getCurrent().isLocal()) { if (WorkContext.getCurrent().isLocal()) {
return; return;
} }
FineLoggerFactory.getLogger().info("start to get solid content from server...");
try { try {
String content = requestContent(); String content = requestContent();
if (StringUtils.isNotEmpty(content)) { if (StringUtils.isNotEmpty(content)) {
String cipherText = JSONFactory.createJSON(JSON.OBJECT).optString("data"); String cipherText = JSONFactory.createJSON(JSON.OBJECT, content).optString("data");
if(StringUtils.isNotEmpty(cipherText)){ if(StringUtils.isNotEmpty(cipherText)){
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put(ATTR_CIPHER_TEXT, cipherText); params.put(ATTR_CIPHER_TEXT, cipherText);
@ -65,6 +66,7 @@ public class SolidCollector {
HttpToolbox.post(deleteUrl, getParams()); HttpToolbox.post(deleteUrl, getParams());
} }
} }
FineLoggerFactory.getLogger().info("send solid content to cloud center success.");
} catch (Exception e) { } catch (Exception e) {
FineLoggerFactory.getLogger().info(e.getMessage(), e); FineLoggerFactory.getLogger().info(e.getMessage(), e);
} finally { } finally {

Loading…
Cancel
Save