mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-15 12:24:44 +08:00
feat: Implement user authentication and data management features
- Added LoginModal component for user login functionality. - Introduced API routes for user login, favorites, play records, and search history management. - Created JSON files for storing favorites, play records, and search history. - Updated API service to handle new endpoints and refactored data management to use API calls instead of local storage. - Adjusted data structures in types and services to align with new API responses.
This commit is contained in:
1
backend/src/data/favorites.json
Normal file
1
backend/src/data/favorites.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
backend/src/data/playrecords.json
Normal file
1
backend/src/data/playrecords.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
backend/src/data/searchhistory.json
Normal file
1
backend/src/data/searchhistory.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
Reference in New Issue
Block a user