This commit is contained in:
UnitedAirforce
2025-05-11 20:48:45 +08:00
parent 752cd581ef
commit e151985510

View File

@@ -621,7 +621,7 @@ def bonus():
my_avatar = json.dumps(list(avatars)) my_avatar = json.dumps(list(avatars))
# Update the table # Update the table
cursor.execute("""UPDATE daily_reward SET timestamp = ?, day = ? WHERE device_id = ?""", (formatted_time, current_day, device_id)) cursor.execute("""UPDATE daily_reward SET timestamp = ?, day = ?, my_avatar = ?, my_stage = ? WHERE device_id = ?""", (formatted_time, current_day, json.dumps(my_avatar), json.dumps(my_stage), device_id))
# return 0 obj # return 0 obj
xml_response = "<response><code>0</code></response>" xml_response = "<response><code>0</code></response>"