feat: use db

This commit is contained in:
Rogee
2024-09-02 18:01:38 +08:00
parent 472fe2ffaf
commit 98cd1a0365
18 changed files with 477 additions and 136 deletions

View File

@@ -3,4 +3,5 @@ app_id: 29433191
app_hash: bc7a2f7b8893889ffa6115f5f0eac278
bot_token:
session_file: ./session.json
log_file: ./log.json
log_file: ./log.json
dsn: "postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource?sslmode=disable"