mirror of
https://github.com/CHERWING/CHERWIN_SCRIPTS.git
synced 2024-11-22 09:04:11 +08:00
fill ems userinfo
This commit is contained in:
parent
1fb60f4b41
commit
4ce619ecd8
11
EMS.py
11
EMS.py
@ -54,7 +54,6 @@ class RUN:
|
|||||||
"Host": "ump.ems.com.cn",
|
"Host": "ump.ems.com.cn",
|
||||||
"Connection": "keep-alive",
|
"Connection": "keep-alive",
|
||||||
"Accept": "application/json, text/plain, */*",
|
"Accept": "application/json, text/plain, */*",
|
||||||
"Atoken": "15a1d84ad5874bb994c54e8727556a45",
|
|
||||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090a13) UnifiedPCWindowsWechat(0xf2540020) XWEB/11503",
|
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090a13) UnifiedPCWindowsWechat(0xf2540020) XWEB/11503",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Origin": "https://ump.ems.com.cn",
|
"Origin": "https://ump.ems.com.cn",
|
||||||
@ -127,7 +126,10 @@ class RUN:
|
|||||||
Log(f"\n====== {act_name} ======")
|
Log(f"\n====== {act_name} ======")
|
||||||
try:
|
try:
|
||||||
params = {
|
params = {
|
||||||
"activId":'16f36f81f38f456a800ecafc85924700'
|
"activId":'16f36f81f38f456a800ecafc85924700',
|
||||||
|
"appId": "wx52872495fb375c4b",
|
||||||
|
"openId": self.openId,
|
||||||
|
"userId": self.memberId
|
||||||
}
|
}
|
||||||
response = self.do_request('https://ump.ems.com.cn/activCenterApi/eac/api/sign/joinSign',data=params)
|
response = self.do_request('https://ump.ems.com.cn/activCenterApi/eac/api/sign/joinSign',data=params)
|
||||||
if response and response.get('code') == '000000':
|
if response and response.get('code') == '000000':
|
||||||
@ -225,7 +227,10 @@ class RUN:
|
|||||||
Log(f"\n====== {act_name} ======")
|
Log(f"\n====== {act_name} ======")
|
||||||
try:
|
try:
|
||||||
params = {
|
params = {
|
||||||
"activId": '16f36f81f38f456a800ecafc85924700'
|
"activId": '16f36f81f38f456a800ecafc85924700',
|
||||||
|
"appId": "wx52872495fb375c4b",
|
||||||
|
"openId": self.openId,
|
||||||
|
"userId": self.memberId
|
||||||
}
|
}
|
||||||
|
|
||||||
response = self.do_request('https://ump.ems.com.cn/activCenterApi/eac/api/sign/querySignActivInfo',data=params)
|
response = self.do_request('https://ump.ems.com.cn/activCenterApi/eac/api/sign/querySignActivInfo',data=params)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user