|
@@ -287,13 +287,13 @@ public class ResourceService {
|
|
|
|
|
|
|
|
|
APIResult<ResourceDetail> apiResult = resourceProxy.saveResources(resourceRemote);
|
|
|
-
|
|
|
+ log.info("saveResources: "+apiResult);
|
|
|
if (!apiResult.getSuccess()) {
|
|
|
return errorResourceAPIResult(apiResult);
|
|
|
}
|
|
|
|
|
|
- Resource resourceVO = apiResult.getData().toNativeResource();
|
|
|
- return APIResult.ok(resourceVO);
|
|
|
+// Resource resourceVO = apiResult.getData().toNativeResource();
|
|
|
+ return APIResult.ok();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -349,13 +349,13 @@ public class ResourceService {
|
|
|
resourceRemote.setVideos(videos);
|
|
|
|
|
|
APIResult<ResourceDetail> apiResult = resourceProxy.updateResources(resourceRemote);
|
|
|
-
|
|
|
+ log.info("updateResources: "+apiResult);
|
|
|
if (!apiResult.getSuccess()) {
|
|
|
return errorResourceAPIResult(apiResult);
|
|
|
}
|
|
|
|
|
|
- Resource resourceVO = apiResult.getData().toNativeResource();
|
|
|
- return APIResult.ok(resourceVO);
|
|
|
+// Resource resourceVO = apiResult.getData().toNativeResource();
|
|
|
+ return APIResult.ok();
|
|
|
}
|
|
|
|
|
|
private APIResult<Resource> errorResourceAPIResult(APIResult<ResourceDetail> apiResult) {
|