|
@@ -39,6 +39,7 @@ class messageData():
|
|
|
def wx_data(cls, data_list):
|
|
|
name = data_list['name']
|
|
|
cookie = data_list['cookie']
|
|
|
+ apptype = data_list['apptype']
|
|
|
first_data, text_path = cls.create_folders(name)
|
|
|
url = "https://mp.weixin.qq.com/wxopen/wasysnotify?action=get&msg_type=1&lang=zh_CN&f=json&ajax=1&begin=0&count=50"
|
|
|
payload = {}
|
|
@@ -80,6 +81,7 @@ class messageData():
|
|
|
(f"url", str(itme["url"])),
|
|
|
(f"channel", name),
|
|
|
("timestamp", str(int(time.time()))),
|
|
|
+ ("appType", str(apptype))
|
|
|
]
|
|
|
if first_data:
|
|
|
if first_data == str(id):
|