Commit Graph

4 Commits

Author SHA1 Message Date
b78f1e1c84 feat(user): implement OTP login, user creation, and profile management
- Added SendOTP method for simulating OTP sending.
- Implemented LoginWithOTP method for user login/registration via OTP, including user creation if not found.
- Added Me method to retrieve current user information.
- Implemented Update method for updating user profile details.
- Added RealName method for real-name verification.
- Implemented GetNotifications method to fetch user notifications.
- Created user_test.go for comprehensive unit tests covering login, profile retrieval, updates, real-name verification, and notifications.
- Updated database models to use appropriate consts for fields like gender, status, and roles.
2025-12-29 10:55:13 +08:00
ad52371028 feat: implement new structure 2025-12-29 09:30:49 +08:00
4722eef72c feat: add user_tenant associations 2025-12-16 14:14:58 +08:00
d058b7ffda feat add tenant users 2025-12-16 11:20:40 +08:00