更新 傻狗阅读_api.py

This commit is contained in:
chickliu 2024-11-30 15:23:41 +08:00
parent cac45d2152
commit 5799f4792d

View File

@ -478,8 +478,8 @@ class yuanshen:
url = 'https://api.yd.dgtech.top/twyd/agent/user/getCoinDrawList' url = 'https://api.yd.dgtech.top/twyd/agent/user/getCoinDrawList'
r = requests.post(url,json={},headers=self.h).json() r = requests.post(url,json={},headers=self.h).json()
allmoney = r["data"]["user"]["totalCoin"] / 10000 allmoney = r["data"]["user"]["totalCoin"] / 10000
lessmoney = r['data']['coinList'][0]['amount'] lessmoney = r['data']['coinList'][1]['amount']
uuid = r["data"]["coinList"][0]["uuid"] uuid = r["data"]["coinList"][1]["uuid"]
logging.info(f'余额:{allmoney}') logging.info(f'余额:{allmoney}')
if withdraw_auto: if withdraw_auto:
if allmoney >= lessmoney: if allmoney >= lessmoney: