Commit 3bae0351 by xuzhenhao

增加了注销功能

1 parent 0c2ead7a
Showing with 1 additions and 1 deletions
......@@ -155,7 +155,7 @@ func UserLogoutApi(c *gin.Context) {
ReturnRespones(c, "104000", err)
return
}
_, err := CheckRequestToken(token)
_, err = CheckRequestToken(token)
if err != nil {
log.Println(err)
ReturnRespones(c, r.(string), err)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!