mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
【解决todo】image 删除重命名改为 my delete
This commit is contained in:
parent
0d4b67a9c4
commit
610badf503
@ -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);
|
||||
// 是否属于当前用户
|
||||
|
Loading…
Reference in New Issue
Block a user