修正bug

This commit is contained in:
hoteas 2022-10-20 15:49:49 +08:00
parent 4ab5ab9ff4
commit b680112fdb

View File

@ -728,12 +728,12 @@ func (that *MakeCode) Add(table string, user Map, req *http.Request) Map {
continue continue
} }
if user[v.GetString("name")] != nil { //if user[v.GetString("name")] != nil {
//
data[v.GetString("name")] = user[v.GetString("name")] // data[v.GetString("name")] = user[v.GetString("name")]
continue // continue
//
} //}
if v.GetBool("must") { if v.GetBool("must") {
return nil return nil