初步版本修正

This commit is contained in:
hoteas
2022-05-05 00:29:30 +08:00
parent ce8059b0a0
commit f0d4efd8fc
20 changed files with 511 additions and 52 deletions
+3 -1
View File
@@ -36,7 +36,9 @@ var SearchRecordCtr = Ctr{
}
if len(data) > 1 {
data = Map{"AND": data, "ORDER": "create_time DESC"}
data = Map{"AND": data}
} else {
data["ORDER"] = "create_time DESC"
}
count := that.Db.Count("search_record", data)