重大版本调整:gewechat兼容。
This commit is contained in:
12
gewechat/client/login.py
Normal file
12
gewechat/client/login.py
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import requests
|
||||
def login():
|
||||
|
||||
url = "/tools/getTokenId"
|
||||
|
||||
payload = {}
|
||||
headers = {}
|
||||
base_url = "http://192.168.2.240:2531/v2/api"
|
||||
response = requests.request("POST", base_url + url, headers=headers, data=payload)
|
||||
|
||||
print(response.text)
|
||||
Reference in New Issue
Block a user