This commit is contained in:
hackrobot
2024-04-10 20:02:14 +08:00
parent 7c15f0bea1
commit 01afa3aa71

View File

@@ -27,7 +27,7 @@ from pydantic import BaseModel
import utils
import requests
import config
from urllib.parse import quote
from urllib.parse import quote,unquote
models.Base.metadata.create_all(bind=engine)
@@ -113,7 +113,7 @@ def read_users(wxid, db: Session = Depends(get_db)):
@app.get("/h5group")
# 群-异度星球 49187487591@chatroom chatroom
def h5group(nickname, db: Session = Depends(get_db)):
newtext = quote(nickname, 'utf-8')
newtext = unquote(nickname, 'utf-8')
print(newtext)
# 判断是否在群中
inGroup = False