修正bug
This commit is contained in:
parent
4ab5ab9ff4
commit
b680112fdb
@ -728,12 +728,12 @@ func (that *MakeCode) Add(table string, user Map, req *http.Request) Map {
|
||||
continue
|
||||
}
|
||||
|
||||
if user[v.GetString("name")] != nil {
|
||||
|
||||
data[v.GetString("name")] = user[v.GetString("name")]
|
||||
continue
|
||||
|
||||
}
|
||||
//if user[v.GetString("name")] != nil {
|
||||
//
|
||||
// data[v.GetString("name")] = user[v.GetString("name")]
|
||||
// continue
|
||||
//
|
||||
//}
|
||||
|
||||
if v.GetBool("must") {
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user