From 1f7c7159a3565b8de97b2a746d70b09b8c075d6c Mon Sep 17 00:00:00 2001 From: Sitoi <133397418@qq.com> Date: Fri, 16 Feb 2024 08:54:11 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E5=8A=9F=E8=83=BD(main.py)?= =?UTF-8?q?=EF=BC=9A=E6=B7=BB=E5=8A=A0=E5=AF=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=95=86=E5=93=81=E4=BB=A3=E7=A0=81=E7=9A=84=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20=20=20=E2=99=BB=EF=B8=8F=20=E9=87=8D=E6=9E=84(main.py)?= =?UTF-8?q?=EF=BC=9A=E6=9B=B4=E6=94=B9=E4=BA=86=E4=BD=BF=E7=94=A8=E5=95=86?= =?UTF-8?q?=E5=93=81=E4=BB=A3=E7=A0=81=E7=9A=84=E6=96=B9=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E7=8E=B0=E5=9C=A8=E4=BD=BF=E7=94=A8=E7=94=A8=E6=88=B7=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=8C=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=8F=90=E4=BE=9B=EF=BC=8C=E5=88=99=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=BB=98=E8=AE=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dailycheckin/imaotai/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dailycheckin/imaotai/main.py b/dailycheckin/imaotai/main.py index 98b49c4..54f13bb 100755 --- a/dailycheckin/imaotai/main.py +++ b/dailycheckin/imaotai/main.py @@ -283,6 +283,7 @@ userId: 2 userId = self.check_item.get("userid") lat = self.check_item.get("lat") lng = self.check_item.get("lng") + item_codes = self.check_item.get("item_codes", self.ITEM_CODES) reserve_rule = self.check_item.get("reserve_rule", 0) msg = [ { @@ -298,7 +299,7 @@ userId: 2 self.get_current_session_id() self.init_headers(user_id=userId, token=token, lng=lng, lat=lat) try: - for item in self.ITEM_CODES: + for item in item_codes: max_shop_id = self.get_location_count( province=province, city=city,