工程图片上传修改
This commit is contained in:
parent
309b559896
commit
d64e7e759d
|
|
@ -114,7 +114,7 @@ public class ProServiceImpl implements IProService {
|
|||
if (files != null && types != null) {
|
||||
Result uploadResult = remoteFileService.mostUploadFile(files, SecurityConstants.INNER);
|
||||
if (uploadResult != null && uploadResult.getCode() == HttpStatus.ERROR) {
|
||||
return AjaxResult.error("工程文件上传失败");
|
||||
log.error("工程文件上传失败");
|
||||
} else if (uploadResult != null && uploadResult.getCode() == HttpStatus.SUCCESS && uploadResult.getData() != null) {
|
||||
String jsonString = JSON.toJSONString(uploadResult.getData());
|
||||
JSONArray jsonArray = JSON.parseArray(jsonString);
|
||||
|
|
|
|||
Loading…
Reference in New Issue