Browse Source

删除测试的注释

yujia 8 years ago
parent
commit
d2665d7424

+ 0 - 7
src/main/java/com/uas/platform/b2c/common/base/service/impl/FileClientImpl.java

@@ -59,17 +59,10 @@ public class FileClientImpl implements FileClient {
 
         };
         form.add("file", arrayResource);
-
         HttpEntity<MultiValueMap<String, Object>> requestEntity = new HttpEntity<MultiValueMap<String, Object>>(form, headers);
         ResponseEntity<JSONObject> responseEntity = null;
         try {
-            logger.info("------------------");
-            logger.info(sysConf.getUploadFileUrl() + FileClientConstant.FILE_UPLOAD);
             responseEntity = restTemplate.postForEntity(sysConf.getUploadFileUrl() + FileClientConstant.FILE_UPLOAD, requestEntity, JSONObject.class);
-            logger.info(responseEntity);
-            logger.info(responseEntity.getBody());
-            logger.info(responseEntity.getBody().getString("patch"));
-            logger.info("------------------");
         }catch (Exception e) {
             e.printStackTrace();
         }