mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 13:17:27 +00:00
- Update user and wechat controllers to use sessions for user ID
- Modify ID retrieval to use `session.Get("id")` instead of `c.GetInt("id")`
- Cast session ID to int when creating user object
3.5 KiB
3.5 KiB