Skip to content

Commit

Permalink
Update YLXL.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CHERWING committed Jun 4, 2024
1 parent 836eb2a commit 69f8dbf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions YLXL.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,12 @@ def get_user_info(self):
response = self.make_request(url,method='get')
if response.get('status', False):
print(f'{act_name}成功!✅')
site = {'1520': "活力伊利", '1160': '金典SATINE', '1068': '甄稀冰淇淋','1130': '金典有机生活+'}
site = {'1520': "活力伊利", '1577': "活力伊利", '1160': '金典SATINE', '1068': '甄稀冰淇淋','1130': '金典有机生活+'}
registerSource = response.get('data')['registerSource']
Log(f'当前Source:【{registerSource}】')
siteName = site.get(registerSource,False)
if not siteName:
Log(f'当前小程序暂不支持,请检查抓token的小程序是否在以下列表:【{site}】')
return False
Log(f'当前小程序名称识别失败')
Log(f'当前token所属小程序:【{siteName}】')
nickName = response.get('data')['nickName']
mobile = response.get('data')['mobile']
Expand Down Expand Up @@ -281,7 +280,7 @@ def import_Tools():
✨✨✨ @Author CHERWIN✨✨✨
''')
local_script_name = os.path.basename(__file__)
local_version = '2024.05.26'
local_version = '2024.06.05'
if IS_DEV:
import_Tools()
else:
Expand Down

0 comments on commit 69f8dbf

Please sign in to comment.