Skip to content

Commit

Permalink
移除小程序登录逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
showpy committed Oct 21, 2021
1 parent bb9f776 commit 08d3e78
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions class/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -3069,13 +3069,7 @@ def check_app(check='app'):
path=get_panel_path() + '/'
if check=='app':
try:
if not os.path.exists(path+'data/user.json') and os.path.exists(path+'config/api.json') and not os.path.exists(path+'plugin/app/user.json'):return False
if os.path.exists(path+'plugin/app/user.json'):
wxapp = json.loads(readFile(path+'plugin/app/user.json'))
if wxapp:return True
if os.path.exists(path+'data/user.json'):
app_info = json.loads(readFile(path+'data/user.json'))
if app_info:return True
if not os.path.exists(path+'config/api.json'):return False
if os.path.exists(path+'config/api.json'):
btapp_info = json.loads(readFile(path+'config/api.json'))
if not btapp_info['open']:return False
Expand Down

0 comments on commit 08d3e78

Please sign in to comment.