提供刪除圖像的接口

This commit is contained in:
2023-05-31 11:44:31 +08:00
parent 9b58e3f106
commit 792b7d24a3

View File

@@ -142,7 +142,7 @@ type Image struct {
- [x] GET [/api/images](/api/images) 圖片列表(全部) - [x] GET [/api/images](/api/images) 圖片列表(全部)
- [x] GET [/api/images?user_id=xxx](/api/images?user_id=xxx) 圖片列表(指定用戶的) - [x] GET [/api/images?user_id=xxx](/api/images?user_id=xxx) 圖片列表(指定用戶的)
- [x] GET [/api/images?tag=xxx](/api/images?tag=xxx) 圖片列表(指定標籤的) - [x] GET [/api/images?tag=xxx](/api/images?tag=xxx) 圖片列表(指定標籤的)
- [x] DELETE [/api/images/{id}](/api/images/{id}) 刪除指定圖像
任務: 任務: