From 362aebff871a786717e37a6334cd563621a1ef86 Mon Sep 17 00:00:00 2001 From: chickliu Date: Mon, 25 Nov 2024 13:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=82=BB=E7=8B=97?= =?UTF-8?q?=E9=98=85=E8=AF=BB=5Fapi.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 傻狗阅读_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/傻狗阅读_api.py b/傻狗阅读_api.py index 0cbca17..fb7fb1a 100644 --- a/傻狗阅读_api.py +++ b/傻狗阅读_api.py @@ -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: