修复bug

This commit is contained in:
hoteas
2021-10-18 04:49:55 +08:00
parent 62ba6e4f86
commit e5dfe9aa8d
3 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{}