Skip to content

Commit

Permalink
fix: 修改密码的接口名称错误
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Apr 17, 2024
1 parent de7d4d4 commit b017941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/accapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewAccountRouter(rg *gin.RouterGroup, as service.AccountService) *AccountRo
group.POST("/create", ar.CreateAccount)
group.POST("/login", ar.LoginAccount)
group.PUT("/reset", ar.ResetPassword)
group.PUT("/change-pwd", ar.ChangePassword)
group.PUT("/update-pwd", ar.ChangePassword)
group.GET("/token-check", ar.CheckToken)

return ar
Expand Down

0 comments on commit b017941

Please sign in to comment.