Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a50b366

Browse files
committed
login -> post
1 parent 45c138a commit a50b366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/controller/app/wechat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type WechatController struct{}
2222
func (self WechatController) RegisterRoute(g *echo.Group) {
2323
g.GET("/wechat/check_session", self.CheckSession)
2424
g.POST("/wechat/register", self.Register)
25-
g.GET("/wechat/login", self.Login)
25+
g.POST("/wechat/login", self.Login)
2626
}
2727

2828
// CheckSession 校验小程序 session

0 commit comments

Comments
 (0)