api配置测试代码

This commit is contained in:
mark.tian
2025-12-11 12:26:47 +08:00
parent 5616d32024
commit 710e16d454

View File

@@ -1,9 +1,10 @@
"""API接口配置文件""" """API接口配置文件"""
# API配置
''' '''
# 关闭清洗任务 # API配置
'task_1': { API_CONFIG = {
# 关闭清洗任务
'task_1': {
'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/a3bdd5b6-1932-4bc9-95bf-dbc4bccb171f', 'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/a3bdd5b6-1932-4bc9-95bf-dbc4bccb171f',
'method': 'PUT', 'method': 'PUT',
'headers': { 'headers': {
@@ -13,9 +14,9 @@
'timeout': 30, 'timeout': 30,
'body': { 'body': {
} }
}, },
# Ice跟进 # Ice跟进
'task_2': { 'task_2': {
'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/db17ba5f-666a-4dc0-a635-1d4d0059338d', 'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/db17ba5f-666a-4dc0-a635-1d4d0059338d',
'method': 'PUT', 'method': 'PUT',
'headers': { 'headers': {
@@ -25,9 +26,9 @@
'timeout': 30, 'timeout': 30,
'body': { 'body': {
} }
}, },
# 战败清洗跟进 # 战败清洗跟进
'task_3': { 'task_3': {
'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/2121d91e-c7d8-47cf-8a67-fa2f22e087ae', 'url': 'http://agent-api.ai.telrobot.top/agent-api/new/user/8f6bae44-e02a-4393-a6cf-adb861bf7d8c/task_start/2121d91e-c7d8-47cf-8a67-fa2f22e087ae',
'method': 'PUT', 'method': 'PUT',
'headers': { 'headers': {
@@ -37,8 +38,10 @@
'timeout': 30, 'timeout': 30,
'body': { 'body': {
} }
}
} }
''' '''
API_CONFIG = { API_CONFIG = {
'task_test': { 'task_test': {
'url': 'https://httpbin.org/post', 'url': 'https://httpbin.org/post',