Skip to content

Commit

Permalink
DEL接口返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
HisAtri committed Nov 9, 2024
1 parent f2f3749 commit 12d8f9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def kv_del(table_name: str, para: dict) -> tuple[bool, any, int]:
"timezone": int(datetime.now(timezone.utc).timestamp()),
}

return True, results, 200


def custom_sql(sql: str) -> list[dict]:
with sqlite3.connect(saved_path) as conn:
Expand Down

0 comments on commit 12d8f9f

Please sign in to comment.