network_api.py 文件源码

python
阅读 15 收藏 0 点赞 0 评论 0

项目:Mohou_Box-master 作者: mohou 项目源码 文件源码
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']
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号