mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-26 00:45:08 +08:00
【解决todo】image 删除重命名改为 my delete
This commit is contained in:
@ -62,6 +62,6 @@ public interface AiImageService {
|
|||||||
* @param id
|
* @param id
|
||||||
* @param loginUserId
|
* @param loginUserId
|
||||||
*/
|
*/
|
||||||
Boolean deleteMy(Long id, Long loginUserId);
|
Boolean myDelete(Long id, Long loginUserId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@ public class AiImageServiceImpl implements AiImageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean deleteMy(Long id, Long userId) {
|
public Boolean myDelete(Long id, Long userId) {
|
||||||
// 校验是否存在,并获取 image
|
// 校验是否存在,并获取 image
|
||||||
AiImageDO image = validateExists(id);
|
AiImageDO image = validateExists(id);
|
||||||
// 是否属于当前用户
|
// 是否属于当前用户
|
||||||
|
Reference in New Issue
Block a user