Browse Source

卢汉新增用例

luhan 1 month ago
parent
commit
a12c2712cc
1 changed files with 3 additions and 3 deletions
  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({"captchaKey": res.json()["data"]["captchaKey"]})
 #         write_yaml({"captcha": res.json()["data"]["length"]})
 #         write_yaml({"captcha": res.json()["data"]["length"]})
 def login_new():
 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"
     method = "get"
     res = requests.request(method, url)
     res = requests.request(method, url)
     data = res.json()["data"]
     data = res.json()["data"]
@@ -58,10 +58,10 @@ def login_new():
     request_data = {
     request_data = {
         "captchaKey": data["captchaKey"],
         "captchaKey": data["captchaKey"],
         "captcha": data["length"],
         "captcha": data["length"],
-        "mobile": "18983179310",
+        "mobile": "18983394419",
         'password': "4E797559645371504E71767A563733444C2F7250785176504C79696231427977737073446347774A4C4A5631486A5231554B7455744B692B56423446673473562B4755504E737064767665674753445672334A6A4836434B447A336B6F63346F6C554654786D5467516768684D7661564A4D6B49327A75377A72535A6745746A4E546A535058344B39312B794A6C57634B4E45334E4F723043704E505031653145686C337033767330354D3D",
         'password': "4E797559645371504E71767A563733444C2F7250785176504C79696231427977737073446347774A4C4A5631486A5231554B7455744B692B56423446673473562B4755504E737064767665674753445672334A6A4836434B447A336B6F63346F6C554654786D5467516768684D7661564A4D6B49327A75377A72535A6745746A4E546A535058344B39312B794A6C57634B4E45334E4F723043704E505031653145686C337033767330354D3D",
         "scope": "PHONE",
         "scope": "PHONE",
-        "username": '18983179310'
+        "username": '18983394419'
     }
     }
     print(request_data)
     print(request_data)
     response = requests.request(url=url1, method=method1, json=request_data)
     response = requests.request(url=url1, method=method1, json=request_data)