def get_serial_number():
url = "http://127.0.0.1:5000/profile2"
cur_client = HTTPClient()
response = cur_client.fetch(url, request_timeout=10)
if response.error:
return None
res = json_decode(response.body)
if res["code"] != 0:
return None
return res["data"]['boxid']
评论列表
文章目录