add logout api
This commit is contained in:
1 parent
6419162471
commit
d86e8e47f4
3 files changed
+41
No files matched your search
@@ -40,5 +40,6 @@ func SetDefaultRoutes(r *gin.Engine) {
|
||||
accountAPI := api.Group("/account")
|
||||
{
|
||||
accountAPI.POST("/login", context.PatchContext(account.UserLogin))
|
||||
accountAPI.POST("/logout", context.PatchContext(account.UserLogout))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user