forked from golang/hotime
修正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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user