Commit 1d538239829145b3ed25ae68e53350b472b631bc
1 parent
54b60cd5
【增加】ai image 删除,增加权限判断
Showing
1 changed file
with
3 additions
and
0 deletions
yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/ErrorCodeConstants.java
| ... | ... | @@ -40,4 +40,7 @@ public interface ErrorCodeConstants { |
| 40 | 40 | ErrorCode AI_MIDJOURNEY_OPERATION_NOT_EXISTS = new ErrorCode(1_022_000_040, "midjourney 操作不存在!"); |
| 41 | 41 | ErrorCode AI_MIDJOURNEY_MESSAGE_ID_INCORRECT = new ErrorCode(1_022_000_040, "midjourney message id 不正确!"); |
| 42 | 42 | |
| 43 | + // ========== API 绘画 1-040-005-000 ========== | |
| 44 | + | |
| 45 | + ErrorCode AI_IMAGE_NOT_CREATE_USER = new ErrorCode(1_022_005_000, "不是创建用户,不能删除 image!"); | |
| 43 | 46 | } | ... | ... |