|
|
欢迎注册论坛,享受更多奶昔会员权益!
您需要 登录 才可以下载或查看,没有账号?注册
×
使用方法 修改手机号 Python运行 青龙应该也可以 返回的连接浏览器打开支付
Python脚本 - import requests
- import json
- if __name__ == '__main__':
- phone = "18888888888"
- url = "https://h5forphone.wostore.cn/h5forphone/changxiang/order"
- headers = {
- "Host": "h5forphone.wostore.cn",
- "Content-Type": "application/json",
- "sec-ch-ua-platform": '"Windows"',
- "x-requested-with": "XMLHttpRequest",
- "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0",
- "accept": "*/*",
- "sec-ch-ua": '"Not;A=Brand";v="99", "Microsoft Edge";v="139", "Chromium";v="139"',
- "sec-ch-ua-mobile": "?0",
- "origin": "https://h5forphone.wostore.cn",
- "sec-fetch-site": "same-origin",
- "sec-fetch-mode": "cors",
- "sec-fetch-dest": "empty",
- "referer": "https://h5forphone.wostore.cn/wiseGuard/wiseguard03.html?channel_id=zjsh-xcx01t02",
- "accept-encoding": "gzip, deflate, br, zstd",
- "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
- "priority": "u=0, i"
- }
- data = {
- "activity": "default",
- "memberid": 850374,
- "channelid": "ZJSHYSJ-001",
- "usercode": phone,
- "returnurl": "https://h5forphone.wostore.cn/wiseGuard/wiseguardPayResult03.html?from="
- }
- try:
- response = requests.post(url, headers=headers, data=json.dumps(data))
- response.raise_for_status() # Raise HTTPError for bad responses (4xx or 5xx)
- print("Status Code:", response.status_code)
- print("Response Content:", response.text)
- except requests.exceptions.RequestException as e:
- print("An error occurred:", e)
复制代码收起 |
|