tpl:update dto template
This commit is contained in:
1 parent
78bb246390
commit
dab93f16b0
1 file changed
+1
-1
@@ -63,7 +63,7 @@ func (s *{{.ClassName}}Control) Bind(ctx *gin.Context) error {
|
||||
log.Errorf("MsgID[%s] Bind error: %#v", err)
|
||||
return err
|
||||
}
|
||||
err := ctx.Bind(m)
|
||||
err = ctx.Bind(s)
|
||||
if err != nil {
|
||||
log.Errorf("MsgID[%s] Bind error: %#v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user