This commit is contained in:
UnitedAirforce
2025-05-11 20:50:22 +08:00
parent e151985510
commit d7412fd6eb

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 = ?, my_avatar = ?, my_stage = ? WHERE device_id = ?""", (formatted_time, current_day, json.dumps(my_avatar), json.dumps(my_stage), device_id)) cursor.execute("""UPDATE daily_reward SET timestamp = ?, day = ?, my_avatar = ?, my_stage = ? WHERE device_id = ?""", (formatted_time, current_day, my_avatar, my_stage, device_id))
# return 0 obj # return 0 obj
xml_response = "<response><code>0</code></response>" xml_response = "<response><code>0</code></response>"