MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getVCode

Function getVCode

backup/sysxc.py:61–70  ·  view source on GitHub ↗

获取滑块图片

(headers)

Source from the content-addressed store, hash-verified

59 exit(3)
60
61def getVCode(headers):
62 """获取滑块图片"""
63 data = {
64 "captchaType": "blockPuzzle",
65 "clientUid": "slider-6292e85b-e871-4abd-89df-4d97709c6e0c",
66 "ts": int(time.time() * 1000)
67 }
68 url = 'https://scrm-prod.shuyi.org.cn/saas-gateway/api/agg-trade/v1/signIn/getVCode'
69 response = requests.post(url, json=data, headers=headers)
70 return response.json()
71
72
73

Callers 1

mainFunction · 0.85

Calls 2

timeMethod · 0.45
postMethod · 0.45

Tested by

no test coverage detected