@@ -62,6 +62,6 @@ public interface AiImageService {
* @param id
* @param loginUserId
*/
- Boolean deleteMy(Long id, Long loginUserId);
+ Boolean myDelete(Long id, Long loginUserId);
}
@@ -184,7 +184,7 @@ public class AiImageServiceImpl implements AiImageService {
@Override
- public Boolean deleteMy(Long id, Long userId) {
+ public Boolean myDelete(Long id, Long userId) {
// 校验是否存在,并获取 image
AiImageDO image = validateExists(id);
// 是否属于当前用户