Commit 7b4e097d by 宋珺琪

修改添加图片bug

parent f55d93b0
......@@ -68,7 +68,6 @@ public class AnswerServiceImpl implements AnswerService {
i = paperPhotoMapper.deletePaperPhoto(paperPhotoDelete);
// 照片处理
if (paperPhotoParams.getFiles() != null) {
if(i>0){
String base64 = "";
for (MultipartFile file : paperPhotoParams.getFiles()) {
try {
......@@ -83,7 +82,6 @@ public class AnswerServiceImpl implements AnswerService {
return 0;
}
}
}
}
return i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment