Pārlūkot izejas kodu

请求头修改

lizhikun 1 gadu atpakaļ
vecāks
revīzija
a3ae0ac560
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      lib/webapi.py

+ 2 - 2
lib/webapi.py

@@ -47,7 +47,7 @@ class APIMgr():
     s = requests.Session()
     s = requests.Session()
     GSTORE['s'] = s
     GSTORE['s'] = s
     #pc登录接口
     #pc登录接口
-    def mgr_login(self, phone='19937989931', password='123456',useproxies=False):
+    def mgr_login(self, phone='18211989987', password='123456',useproxies=False):
         headers=GSTORE['headers']
         headers=GSTORE['headers']
         s = GSTORE['s']
         s = GSTORE['s']
         if useproxies:
         if useproxies:
@@ -64,7 +64,7 @@ class APIMgr():
         return response
         return response
 
 
     # app登录接口
     # app登录接口
-    def mgr_login_app(self, phone='19937989931', password='123456',useproxies=False):
+    def mgr_login_app(self, phone='18211989987', password='123456',useproxies=False):
         headers=GSTORE['headers']
         headers=GSTORE['headers']
         s = GSTORE['s']
         s = GSTORE['s']
         if useproxies:
         if useproxies: