eddycjy / go-gin-example

An example of gin
MIT License
6.84k stars 1.59k forks source link

Bugfix: fix auth api #146

Open Lan-ce-lot opened 1 year ago

Lan-ce-lot commented 1 year ago

fix #145

username := c.PostForm("username")
password := c.PostForm("password")

==>

username := c.Query("username")
password := c.Query("password")