{
"Username":"",
"Password":""
}
but I need the ability to log in by the user, so the password submitted by the user cannot be verified. How to solve it?
{
"Username":"",
"Password":""
}
but I need the ability to log in by the user, so the password submitted by the user cannot be verified. How to solve it?
problem solved, give a json: "-"
to solve
type User struct {
Username string
Password string `json:"-"`
}
multiple parameters are separated by spaces, such as
Password string `orm:"size(128)" json:"-"`
Previous: Angular http request problem
Next: How does the JS in vue refer to the methods method in .vue?
< H1 > question < H1 > when registering models using the beego framework, an error is reported: panic: <orm.RegisterModel> cannot use non-ptr model struct `.` if you look at the description, you should pass in the pointer, but I passed the poi...
as shown in the figure, the this.Ctx.Input.Param ( ": pag ") in the beego framework clearly returns string, but why does the error prompt say int? add: Thank you for answering, because this is often written in js and php, and I don t think ther...
just getting started, I selected a project from the official case and followed the documentation step by step, but kept prompting can t find templatefile in the path:views admin login.tpl I am using beego version 1.10.1 : ask for advice. I gu...