|
|
@ -40,9 +40,6 @@ public class SolidCollector { |
|
|
|
* 回传文件给云中心,并删除服务端本地文件 |
|
|
|
* 回传文件给云中心,并删除服务端本地文件 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void sendToCloudCenterAndDeleteFile() { |
|
|
|
public void sendToCloudCenterAndDeleteFile() { |
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
String url = CloudCenter.getInstance().acquireConf("design.solid", "https://cloud.fanruan.com/api/solid/upload"); |
|
|
|
String url = CloudCenter.getInstance().acquireConf("design.solid", "https://cloud.fanruan.com/api/solid/upload"); |
|
|
|
if (StringUtils.isEmpty(url)) { |
|
|
|
if (StringUtils.isEmpty(url)) { |
|
|
|
FineLoggerFactory.getLogger().info("failed to get solid content upload url..."); |
|
|
|
FineLoggerFactory.getLogger().info("failed to get solid content upload url..."); |
|
|
|