• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

在配置文件中copyrequestbody=true

类型用户结构{

用户名字符串'表格: '用户名' '

密码字符串'表格: '密码' '

}

func(this *登录控制器)log in(){

u :=新的(用户)

json .解组(这个Ctx。输入. RequestBody,u)

这个CTX。WriteString(u . Username '-' u . Password)

}

示例:

02x4vz1po4r5120.png

1tx2zxhlyfu5121.png

tfievfz0upo5122.png

loading.gif

Link to comment
Share on other sites