Commit bf508067 by xuzhenhao

调试

1 parent 1ab4527a
Showing with 3 additions and 3 deletions
......@@ -20,9 +20,9 @@ import (
//登录接口
func UserLoginApi(c *gin.Context) {
buf := make([]byte, 1024)
n, _ := c.Request.Body.Read(buf)
log.Println(string(buf[0:n]))
// buf := make([]byte, 1024)
// n, _ := c.Request.Body.Read(buf)
// log.Println(string(buf[0:n]))
loginType := c.Request.FormValue("login_type")
loginName := c.Request.FormValue("login_name")
loginPassword := c.Request.FormValue("login_password")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!