续约待办

This commit is contained in:
z66
2025-11-11 09:21:00 +08:00
parent 9798071f68
commit 8a2c65d76e
6 changed files with 195 additions and 37 deletions
+1 -2
View File
@@ -25,7 +25,6 @@ class CommonModule:
# 创建一个存储日期的集合,用于去重
self.date_set = set()
self.conn = Config.CONN_INFO
self.renewal_conn = Config.CONN_INFO_RENEWAL
def time_to_UTC(self, time_input):
"""
@@ -180,7 +179,7 @@ class CommonModule:
"""
try:
# 获得连接
conn = psycopg2.connect(**self.renewal_conn)
conn = psycopg2.connect(**self.conn)
cursor = conn.cursor()
# 获取指定天数前的日期