add siteuserdata

This commit is contained in:
jxxghp
2024-07-04 19:42:09 +08:00
parent 965e40e630
commit 28345817d9
14 changed files with 145 additions and 37 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class SiteStatisticOper(DbOper):
"seconds": avg_seconds or sta.seconds,
"lst_state": 0,
"lst_mod_date": lst_date,
"note": json.dumps(note) if note else sta.note
"note": note or sta.note
})
else:
note = {}