wfwqf
This commit is contained in:
3
utils.py
3
utils.py
@@ -63,7 +63,8 @@ def saveWxidInfo(account_wxid, wxid, openId=None, h5openid=None):
|
||||
# 发送小程序模版,建议远程更新
|
||||
def sendminiProgram(data=None, account_wxid=None, wxid=None, msgXml=None):
|
||||
# 发送小程序
|
||||
if data.get('isSender') != 1:
|
||||
#不是自己发的消息
|
||||
# if data.get('isSender') != 1:
|
||||
root = ET.fromstring(msgXml) #xml-字符串形式
|
||||
|
||||
#打开xml文档
|
||||
|
||||
Reference in New Issue
Block a user