bjhbj
This commit is contained in:
3
main.py
3
main.py
@@ -37,7 +37,7 @@ app = FastAPI()
|
||||
|
||||
|
||||
# 全局消息变量
|
||||
# globalMsgData=None
|
||||
globalMsgData=None
|
||||
|
||||
def is_chinese(char):
|
||||
"""检查字符是否为中文字符。"""
|
||||
@@ -244,6 +244,7 @@ def h5group(nickname, db: Session = Depends(get_db)):
|
||||
from_wxid=config.chatroomId, #异度星球群
|
||||
new_wxid=new_wxid)
|
||||
print('new_wxid--', new_wxid)
|
||||
global globalMsgData
|
||||
# 发送小程序
|
||||
utils.sendminiProgram(globalMsgData, config.account_wxid, new_wxid, planetXml)
|
||||
return {"code": 200, "success": "ok", "message": "群聊邀请已发送"}
|
||||
|
||||
Reference in New Issue
Block a user