From b017941a725862848598652fccc5d42885b53d98 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Wed, 17 Apr 2024 08:52:53 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3=E5=90=8D=E7=A7=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/controller/accapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/accapi.go b/backend/controller/accapi.go index fb1a791..c8bf86c 100644 --- a/backend/controller/accapi.go +++ b/backend/controller/accapi.go @@ -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