修复太过于严格的bug

This commit is contained in:
hoteas 2022-01-03 01:42:35 +08:00
parent 008f19355c
commit 136232dd57

View File

@ -853,7 +853,7 @@ func (that *MakeCode) Search(table string, userData Map, req *http.Request, db *
if len(where) == 0 && hasUser { if len(where) == 0 && hasUser {
where["admin.id"] = userData["id"] //where["admin.id"] = userData["id"]
} }