This commit is contained in:
hackrobot
2024-04-11 00:37:22 +08:00
parent 8f096e1852
commit 1c4aad647c

View File

@@ -60,7 +60,7 @@ def saveWxidInfo(account_wxid, wxid, openId=None, h5openid=None):
# 发送小程序模版,建议远程更新
def sendminiProgram(data, account_wxid, wxid, msgXml):
def sendminiProgram(data=None, account_wxid=None, wxid=None, msgXml=None):
# 发送小程序
if data.get('isSender') != 1:
root = ET.fromstring(msgXml) #xml-字符串形式