This commit is contained in:
hackrobot
2024-04-10 19:50:49 +08:00
parent 638dc5d2a0
commit 7c15f0bea1

View File

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