mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 14:56:38 +08:00
feat(platform): add GET /api/health and GET /api/v1/user/self
This commit is contained in:
@@ -142,6 +142,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
|
||||
userGroup.GET("/logout", Logout)
|
||||
userGroup.POST("/send-email-code", emailCap, SendEmailCode)
|
||||
userGroup.POST("/change-password", loginMW, ChangePassword)
|
||||
userGroup.GET("/self", loginMW, Self)
|
||||
userGroup.PUT("/profile", loginMW, UpdateProfile)
|
||||
|
||||
// Access Tokens
|
||||
|
||||
Reference in New Issue
Block a user