替换chat里的contact

This commit is contained in:
shuaikangzhou
2023-11-02 23:50:04 +08:00
parent 11ce6e0ecd
commit 091e814170
5 changed files with 37 additions and 124 deletions

View File

@@ -14,6 +14,8 @@ import time
import requests
from app import person
DB = None
cursor = None
@@ -152,7 +154,7 @@ def get_myinfo():
sql = 'select * from userinfo where id=2'
cursor.execute(sql)
result = cursor.fetchone()
me = Me(result[2])
me = person.Me(result[2])
return me