get_duplicateToken.py
393 Bytes
# -*- coding: utf-8 -*-
# @Time : 2021/9/8 14:14
# @Author : Ljq
# @File : get_duplicateToken.py
# @Software: PyCharm
"""
"""
def get_duplicateToken(session=None,host=""):
"""进门防重接口"""
url = host + "/jmsf-web/appCommon/duplicateToken.action"
headers = dct.jsonCode()
res = session.useHeadersRequests(method="get", url=url, headers=headers)
return res