.. code-block:: python from deepfos.options import OPTION # ----------------------------------------------------------------------------- # 从系统中获取以下参数 #: 环境参数 para1 = {'app': 'zzaoxv008', 'space': 'zzaoxv', 'user': '1fff29c5-abdc-4929-ab6c-8a6ca9479091', 'language': 'zh-cn', 'token': 'Bearer 358E9662AE86B3DCCA2973B0EA067C4BC832F4C00B95828F026A0121AEF50675', 'cookie': '', 'Content-Type': 'application/json;charset=UTF8'} #: 业务参数 para2 = {'currentStatus': 'Status587e', 'operationTime': '2021-07-27 14:48:53', 'operationUser': '1fff29c5-abdc-4929-ab6c-8a6ca9479091', 'pcRemark': '', 'primaryKeyValue': {'partition_id': 'SUBEEB6VDKAO0I', 'sub_id': '1', 'sys_store_id': 'fran_store0003'}, 'targetStatus': 'Statusa600'} #: 环境域名,根据自己的使用环境更改 host = "https://alpha.deepfos.com" # ----------------------------------------------------------------------------- # 下面的代码是固定的 OPTION.general.use_eureka = False OPTION.server.base = f"{host}/seepln-server" OPTION.server.app = f"{host}/seepln-server/app-server" OPTION.server.system = f"{host}/seepln-server/system-server" OPTION.server.space = f"{host}/seepln-server/space-server" OPTION.server.platform_file = f"{host}/seepln-server/platform-file-server" OPTION.api.header = para1 OPTION.api.dump_on_failure = True