diff --git a/__pycache__/main.cpython-310.pyc b/__pycache__/main.cpython-310.pyc index 218daf4..e7b7fc9 100644 Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ diff --git a/__pycache__/tengxunyun.cpython-310.pyc b/__pycache__/tengxunyun.cpython-310.pyc new file mode 100644 index 0000000..2641778 Binary files /dev/null and b/__pycache__/tengxunyun.cpython-310.pyc differ diff --git a/main.py b/main.py index 26f629b..f0685fd 100644 --- a/main.py +++ b/main.py @@ -19,6 +19,8 @@ except ImportError: import WXBotService from planet import planetXml +from tengxunyun import tengxunyunXml + from lxml import etree import xml.dom.minidom from pydantic import BaseModel @@ -207,11 +209,12 @@ def kp(event_data): # crud.create_user(db=SessionLocal(),user=userClass) # 保存好友信息 - utils.saveWxidInfo(account_wxid, wxid) # 发送小程序 utils.sendminiProgram(data, account_wxid, wxid, planetXml) - + # if msg in ['腾讯云']: + # # 发送小程序 + # utils.sendminiProgram(data, account_wxid, wxid, tengxunyunXml) elif msg_type == 3: # 3 图片消息 kp_log = f'{type_str} 图片消息 内容:{filepath}' diff --git a/tengxunyun.py b/tengxunyun.py new file mode 100644 index 0000000..848167b --- /dev/null +++ b/tengxunyun.py @@ -0,0 +1,250 @@ +#第28行,cmder手动复制,会丢失信息, 可以写到text文件先 + +tengxunyunXml=''' + + + CPS推广奖励-腾讯云 + + + view + 33 + 0 + + https://mp.weixin.qq.com/mp/waerrpage?appid=wxe2039b83454e49ed&type=upgrade&upgradetype=3#wechat_redirect + + 0 + + + 0 + + + 0 + + + + + + + + + + + + + 3057020100044b304902010002043866a09902032f59190204dfa90c79020466000c68042430383662643330342d636636302d343365312d623334662d3463353465316630313230300204051808030201000405004c575d00 + 10ae9b87932e4c0ddac8035ebc422877 + 3656 + 117 + 147 + b91836c3414767d59b3b0bd6dafef399 + b91836c3414767d59b3b0bd6dafef399 + 1 + + 0 + + + 0 + gh_44fc2ced7f87@app + 腾讯云助手 + + + + + + + 0 + + + + 0 + + + + 0 + null + + + + 0 + null + null + + null + 0 + null + + + + + + wxapp_wxe2039b83454e49edpages/web-view/web-view.html?routerStartTime=1711279179185&__key_=171127902841813&viaPath=products%2Ftca-account_0.0.7%2Fpages%2Flogin%2Flogin-verify%2Flogin-verify&url=https%3A%2F%2Fcloud.tencent.com%2Fact%2Fpartner%2Fcps&sampshare=%7B%22i%22%3A%22100000605490%22%2C%22p%22%3A%22pages%2Fweb-view%2Fweb-view%22%2C%22d%22%3A0%2C%22m%22%3A%22%E8%BD%AC%E5%8F%91%E6%B6%88%E6%81%AF%E5%8D%A1%E7%89%87%22%7D + + + + 10ae9b87932e4c0ddac8035ebc422877 + + 0 + 0 + + + + gh_44fc2ced7f87@app + wxe2039b83454e49ed + 613 + 2 + + + + 0 + 0 + + 147 + 117 + 0 + + 538 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + + + + + + 0 + + + + 0 + + 0 + + + + 0 + + + + -1 + + + + 0 + -1 + 0 + + + + 0 + + + + + + + 0 + 0 + + + wxid_4413224132412 + 0 + + 1 + + + +''' \ No newline at end of file