Commit 7a2d90e3 by fanxun

ssoConfig添加headers

parent 87517def
......@@ -73,4 +73,4 @@ class SSOConfig(BaseConfig):
sso_url = r'http://testtbdzj.hikcreate.com/web/auth/users/login' # sso登录地址
sso_salt = 'hikcreate_xj' # SSO盐值
sso_token = ''
header = {}
headers = {'Content-Type': 'application/json'}
......@@ -2,8 +2,6 @@ __author__ = 'fanxun'
__data__ = "2021-05-08 10:26"
import pytest
from config import SSOConfig
from common.utils.encryption import Encryption
from common.tools import request_main
from service.login import SSOLogin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment