feat(note): add image upload functionality for notes

- Implemented a new endpoint in the Note controller to handle image uploads associated with notes.
- Added the `uploadImage` method in NoteService to manage image storage and return public URLs.
- Updated API routes to include the new image upload endpoint, enhancing note management capabilities.
This commit is contained in:
nepiedg
2026-04-20 10:27:54 +00:00
parent 9cc82df980
commit 69eb3e5019
4 changed files with 84 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ Route::group('note/v1', function () {
Route::post('item/delete/:id', [NoteItem::class, 'delete']);
Route::post('item/transcript/:id', [NoteItem::class, 'transcript']);
Route::post('item/audio/:id', [NoteItem::class, 'audio']);
Route::post('item/image/:id', [NoteItem::class, 'image']);
Route::post('ai/summary/:id', [NoteAi::class, 'summary']);
Route::get('ai/summary/:id', [NoteAi::class, 'readSummary']);