update
This commit is contained in:
5
main.py
5
main.py
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user