添加人像

master
GoblinsWang 2023-03-30 12:37:23 +08:00
parent 61f343f258
commit d7551eb9f6
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class PortraitServiceImpl extends ServiceImpl<PortraitMapper, Portrait> i
/**调用微云删除人像*/
ApiVO face = (ApiVO) httpUtil.delete(link + ApiUrlEnum.FACE_POSTURL.getUrl() + "/" + portrait1.getIdFactory() + "/" + idPortrait, ApiVO.class);
if (face.getMessage().equals("成功")) {
if (UtilValidate.isNotEmpty(face) && face.getCode().equals(200)) {
minioUtil.removeObject(bucketName, portrait1.getUrl());
} else {
log.error("wy删除失败");