更新 傻狗阅读_api.py

This commit is contained in:
chickliu 2024-11-25 13:00:49 +08:00
parent 1188f9a863
commit 362aebff87

View File

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