修复bug

This commit is contained in:
hoteas
2021-10-18 04:49:55 +08:00
parent deb3e54cc3
commit 5c775b4539
4 changed files with 10 additions and 2 deletions
+3
View File
@@ -778,6 +778,9 @@ func (that *MakeCode) Search(table string, userData Map, req *http.Request, db *
data[table+"."+searchItemName] = reqValue
}
if sort["ORDER"] == nil {
sort["ORDER"] = table + ".id DESC"
}
where := Map{}