Commit graph

5 commits

Author SHA1 Message Date
Jethro Lin
9cebfec5b0 3. [API 概览](#3-api-概览)
- [3.1 客户用户 API](#31-客户用户-api)
   - [3.2 管理员 API](#32-管理员-api)
2024-12-04 11:45:27 +08:00
Jethro Lin
1ab2e796a9 Created missing models:
Admin: For managing administrators with role-based access
LlmProvider: For managing LLM service providers
Created SQL schema:
All tables as per the database design
Proper foreign key constraints and indexes
Timestamps for auditing
Appropriate character sets and collations
Added operation logging:
Created LogService for centralized logging
Integrated logging into TokenService
Logs all token-related operations with user info and IP address
Enhanced token management:
Added comprehensive logging for all token operations
Improved error handling and validation
Added proper cleanup for revoked tokens
2024-12-04 11:31:10 +08:00
Jethro Lin
dca86354ba agnet step 1 add auth 2024-12-04 11:24:47 +08:00
Jethro Lin
7b376c2ed9 chmod 2024-12-03 16:07:05 +08:00
Jethro Lin
596f31fa32 add laravel and cursor rules 2024-12-03 16:01:27 +08:00