添加人像
This commit is contained in:
		
							parent
							
								
									61f343f258
								
							
						
					
					
						commit
						d7551eb9f6
					
				| @ -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删除失败"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user