Ver código fonte

四川日报压缩包推送

dengsixing 10 meses atrás
pai
commit
37219ba46c

+ 2 - 8
src/main/java/com/fdkankan/external/service/impl/ScrbServiceImpl.java

@@ -64,7 +64,7 @@ public class ScrbServiceImpl implements IScrbService {
         SceneEditControls sceneEditControls = sceneEditControlsService.getBySceneEditId(sceneEditInfo.getId());
         FileUtil.writeUtf8String(JSON.toJSONString(scenePlus), sourcePath + "scenePlus.txt");
         String scenePlusExtStr = JSON.toJSONString(scenePlusExt);
-        scenePlusExtStr.replace(fYunFileConfig.getHost(), scrbObsUtil.getHost());
+        scenePlusExtStr = scenePlusExtStr.replace(fYunFileConfig.getHost(), scrbObsUtil.getHost());
         FileUtil.writeUtf8String(scenePlusExtStr, sourcePath + "scenePlusExt.txt");
         FileUtil.writeUtf8String(JSON.toJSONString(sceneEditInfo), sourcePath + "sceneEditInfo.txt");
         FileUtil.writeUtf8String(JSON.toJSONString(sceneEditInfoExt), sourcePath + "sceneEditInfoExt.txt");
@@ -102,12 +102,6 @@ public class ScrbServiceImpl implements IScrbService {
         Map<String, Object> param = new HashMap<>();
         param.put("num", num);
         param.put("key", key);
-//        JSONObject result = httpClient.postJson(url, param);
-//        result.getInteger("code");
-//        if(){
-//
-//        }
-
-
+        JSONObject result = httpClient.postJson(url, param);
     }
 }