24 lines
886 B
Python
24 lines
886 B
Python
"""平台地址与门户页面公开的签名参数。与已验证的 NqiTools 保持一致。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
ORIGIN = "https://nqi.gmcc.net:20443"
|
|
CAS_LOGIN = f"{ORIGIN}/cas/login"
|
|
CAS_CONFIG = f"{ORIGIN}/cas/getConfig"
|
|
CAS_SMS = f"{ORIGIN}/cas/sendCode1"
|
|
CAS_CAPTCHA = f"{ORIGIN}/cas/captcha.jpg"
|
|
PORTAL_SERVICE = f"{ORIGIN}/pro-portal/"
|
|
CAS_USER = f"{ORIGIN}/pro-portalv2/api/cas/getCasUser"
|
|
CAS_PASSWORD_CHECK = f"{ORIGIN}/pro-portalv2/api/user/checkUserPasswordUpdated"
|
|
PORTAL_ONLINE = f"{ORIGIN}/pro-portal/pure/LogEnter!getOnLineCount.action"
|
|
GIS_API = f"{ORIGIN}/pro-gis-tenant/gmcc-wyzc/api"
|
|
|
|
APP_KEY = "1e395dc741b64ce1913cf411e6c08384"
|
|
APP_SECRET = "2d6f5e13b9d54c99bea58f46c2a45ddb"
|
|
SIGN_VERSION = "1.0.0"
|
|
|
|
USER_AGENT = (
|
|
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
|
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
|
|
)
|