luhan 2 сар өмнө
parent
commit
a12c2712cc
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      conftest.py

+ 3 - 3
conftest.py

@@ -48,7 +48,7 @@ def clear_yam():
 #         write_yaml({"captchaKey": res.json()["data"]["captchaKey"]})
 #         write_yaml({"captcha": res.json()["data"]["length"]})
 def login_new():
-    url = "https://app.youth.cq.cqyl.org.cn/api/service-sysmgr/LoginController/getCaptchaLength?accountId=18983179310"
+    url = "https://app.youth.cq.cqyl.org.cn/api/service-sysmgr/LoginController/getCaptchaLength?accountId=18983394419"
     method = "get"
     res = requests.request(method, url)
     data = res.json()["data"]
@@ -58,10 +58,10 @@ def login_new():
     request_data = {
         "captchaKey": data["captchaKey"],
         "captcha": data["length"],
-        "mobile": "18983179310",
+        "mobile": "18983394419",
         'password': "4E797559645371504E71767A563733444C2F7250785176504C79696231427977737073446347774A4C4A5631486A5231554B7455744B692B56423446673473562B4755504E737064767665674753445672334A6A4836434B447A336B6F63346F6C554654786D5467516768684D7661564A4D6B49327A75377A72535A6745746A4E546A535058344B39312B794A6C57634B4E45334E4F723043704E505031653145686C337033767330354D3D",
         "scope": "PHONE",
-        "username": '18983179310'
+        "username": '18983394419'
     }
     print(request_data)
     response = requests.request(url=url1, method=method1, json=request_data)