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:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user