Commit Graph

4 Commits

Author SHA1 Message Date
cheng zhen
8a5db8e84e feat: implement user generation tracking and GitHub star validation for license key generation
- Added UserGeneration model to track user license generation counts and statuses.
- Introduced validateStar utility to check if a user has starred the project on GitHub.
- Updated license key generation endpoint to validate user star status and manage generation limits.
- Refactored server.js to handle new user generation logic and improved error handling.
2025-01-03 15:52:53 +08:00
cheng zhen
4ffc76a063 feat: 统一响应体 2025-01-03 11:40:44 +08:00
chengchongzhen
e5539045b8 feat: 添加 moment-timezone 依赖,更新许可证过期时间逻辑为中国时区,优化日期处理 2024-12-31 09:27:15 +08:00
cheng zhen
9bf7217fa2 fix: update MongoDB URI in .env file and add date utility file 2024-12-31 08:02:07 +08:00