From f5cdf4b3efe63eddabff96fa49bf978cc5842f4e Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 13 十月 2023 10:44:01 +0800
Subject: [PATCH] 开盘啦接口调整

---
 third_data/kpl_api.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/third_data/kpl_api.py b/third_data/kpl_api.py
index b6625e4..e23fc69 100644
--- a/third_data/kpl_api.py
+++ b/third_data/kpl_api.py
@@ -36,7 +36,7 @@
 
 
 def daBanList(pidType):
-    data = "Order=1&a=DaBanList&st=100&c=HomeDingPan&PhoneOSNew=1&DeviceID=a38adabd-99ef-3116-8bb9-6d893c846e23" \
+    data = "Order=1&a=DaBanList&st=50&c=HomeDingPan&PhoneOSNew=1&DeviceID=a38adabd-99ef-3116-8bb9-6d893c846e23" \
            f"&VerSion=5.8.0.2&Index=0&Is_st=1&PidType={pidType}&apiv=w32&Type=4&FilterMotherboard=0&Filter=0&FilterTIB=0" \
            "&FilterGem=0 "
     result = __base_request("https://apphq.longhuvip.com/w1/api/index.php", data=data)
@@ -116,4 +116,4 @@
 
 
 if __name__ == "__main__":
-    print(getStockIDPlate("000333"))
+    print(len(json.loads(daBanList(DABAN_TYPE_LIMIT_UP))["list"]))

--
Gitblit v1.8.0