更新 傻狗阅读_api.py
This commit is contained in:
parent
cac45d2152
commit
5799f4792d
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user