/** @format */

/** @format */
export const LOGIN_PATH = '/admin/login';
export const ACCESS_PATH = '/admin/access';

export const GET_DASHBORAD_MERCHANT_SERVERCONSUME = '/access_log/api_service_consume_info';
// 商户仪表盘 获取 服务概况 数据概况
export const GET_OVERVIEW_DATA = '/access_log/api_service_data_info?';
export const GET_MERCHANT_REVENUE = '/access_log/api_service_income_info';
export const GET_MERCHANT_FAIL = '/access_log/api_service_fail_info';
//仪表盘  商户 统计报表
export const GET_MERCHANT_REPORT = '/access_log/bi_api_report';

//仪表盘 供应商 数据服务概况
export const GET_PROVIDE_OVIEDATA = '/access_log/provider_service_data_info';
export const GET_PROVIDE_COST_RANK = '/access_log/provider_service_pay_info';
export const GET_PROVIDE_SERVER_FAIL = '/access_log/provider_service_fail_info';
//仪表盘 供应商-统计报表
export const GET_PROVIDE_REPORT_OFFLINE = '/access_log/bi_provider_report';
//仪表盘 供应商-用量趋势
export const GET_PROVIDE_TREND = '/access_log/bi_provider_trend';
// 仪表盘 供应商- 结果分布
export const GET_PROVIDE_RESULT = '/access_log/bi_provider_distribution';
// 仪表盘 供应商 -性能监控
export const GET_PROVIDE_MONITOR = '/access_log/bi_provider_status';

// ----------------------------------商户----------------------------
//获取商户列表(商户自身信息)
export const GET_MERCHANT_LIST = '/user_merchant/user_merchant_list';
//获取待审核商户列表
export const GET_MERCHANT_REVIEW_LIST = '/user_merchant/user_merchant_auth_list';

//商户列表(带有数据Api信息)
export const GET_MERCHANT_LIST_WITH_DATAAPI = '/user_merchant/user_merchant_list_new';
// 商户认证
export const PUT_MERCHANT_AUTH = '/user_merchant/user_merchant_auth_state';
//新增商户
export const POST_INSERT_MERCHANT = '/user_merchant/user_merchant';
//修改商户信息
export const PUT_CHNAGE_MERCHANT = '/user_merchant/user_merchant';
//获取商户下面的数据API
export const GET_MERCHANT_DATA_API = '/merchant_api/merchant_data_api_list_by_total';

// ---------------------------------商户订单----------------------------
export const PUT_MERCHANT_ORDER_PRICE = '/merchant_order/merchant_order_price';
export const POST_MERCHANT_ORDER_STATUS = '/merchant_order/merchant_order_pay';

// ---------------------------------财会----------------------------
export const GET_EXPENSES_LIST = '/accounting/consume_list';
export const GET_EXPENSES_TRENDS = '/accounting/consume_trend_list';
export const GET_RECHARGE_LIST = '/accounting/charge_list';
export const GET_BILL_LIST = '/accounting/bill_list';
export const GET_BILL_DETAIL_LIST = '/accounting/bill_detail_list';
export const GET_EXPORT_BILL = '/accounting/bill_export_excel';

export const PUT_BILL_RECHARGE_COUNT = '/accounting/bill_detail';
export const PUT_ADD_BILL_REMARK = '/accounting/bill_remark';
export const GET_MERCHANT_PRICE_LIST = '/accounting/merchant_price_list';
export const PUT_MERCHANT_TYPE = '/accounting/merchant_type';
export const POST_MERCHANT_CHARGE = '/accounting/merchant_charge';
export const GET_MERCHANT_DATA_API_PRICE_LIST = '/accounting/merchant_data_api_price_list';
export const PUT_MERCHANT_DATA_API_PRICE = '/accounting/merchant_data_api_price';

// ---------------------- 获取数据API--------------------------
export const GET_DATA_API_LIST = '/data_api/data_api';

// --------------------错误码--------------------
export const GET_ALL_ERRORCODE = '/error_code/error_code_list';

// 权限管理
export const ONTIMEQUOTA = '/merchant_api/merchant_data_api_list_by_day';
//商户 下的数据API 限额修改
export const PUT_MERCHANT_DATA_API_LIMIT = '/merchant_api/quota';
// 修改商品别名
export const PUT_UPDATE_PRODUCT_ALIAS = '/merchant_api/alias';

//获取数据API的文档链接
export const GET_DATA_API_DESC = '/merchant_api/merchant_api_file';
export const DELETE_DATA_API = '/merchant_api/data_api';
export const GET_ORDER_MANGENT = '/merchant_order/merchant_order_list';

//获取商户下的所有baseApi(特殊处理)
export const GET_MERCNAT_BASEAPI_LIST = '/merchant_api/merchant_base_api_list_all';
// ------------------base Api -----------------------
//获取baseApi list
export const GET_BASE_API_LIST = '/base_api/base_api_list';

// 获取 商户下的数据API由哪些baseApi 组成
export const GET_MERCHANT_DATA_API_BASE_API_LIST = '/merchant_api/merchant_base_api_list';

//在线查询base api
export const POST_BASEAPI_ONLINE_QUERY = '/base_api/try';
//对base api 执行批量查询
export const POST_BASEAPI_MULTIPLE_QUERY = '/base_api/try_api_task';
// 获取商户下的dataAPI 的base api信息
export const GET_MERCHANT_DATAAPI_BASEAPI_INFO = '/merchant_api/merchant_base_api_info';

//控制面板
export const GET_CONTROL_MERCAHNT_LOG = '/access_log/access_log';
export const GET_SOURCE_CONTETN_LOG = '/access_log/access_log_get_thirdpart_log';
export const GET_SOURCE_LOG = '/access_log/thirdpart_access_log';
//数据服务系统
export const GET_BRTCH_LIST = '/base_api/try_api_task_list'; //获取数据源列表
export const PUT_INTERFACE_ENABLE = '/base_api/base_api_state';
export const PUT_INTERFACE_REPORT = '/base_api/base_api_show_info';
export const PUT_INTERCASE_WARNING = '/base_api/base_api_threshold';
export const DELETE_INTERFACE = '/base_api/base_api';
export const PUT_BASE_API_INFO = '/base_api/base_api';
export const POST_BASE_API_INFO = '/base_api/base_api';

export const DELETE_DATA_API_LIST = '/data_api/data_api';
export const GET_BASE_API_INFO = '/base_api/base_api_info';
//接口下面的数据源
export const GET_INTERFACE_SOURCE_LIST = '/base_api/base_api_provider_list';
//更新接口下面的数据源
export const POST_INTERFACE_SOURCE = '/base_api/base_api_provider';

//获取所有的数据源
export const GET_PROVIDER_PLATFORM_LIST = '/provider/provider_all_platform_api';
//-------------------------数据API data api----------------------
//获取数据API 的订单套餐列表
export const GET_DATA_API_COMBO_LIST = '/data_api/combo_list';
//新增数据API
export const POST_DATA_API = '/data_api/data_api';
export const PUT_DATA_API = '/data_api/data_api';
export const PUT_DATA_API_RELEASE = '/data_api/data_api_release';
// -----------------------数据API 查询方式-------------------
export const GET_QUERY_TYPE_LIST = '/data_api/query_type_list';
export const GET_QUERYTYPE_DETAIL = '/data_api/query_type';

//获取查询方式配置的详细信息
export const GET_QUERY_TYPE_INFO = '/data_api/query_type';
//更新合新增查询方式
export const PUT_QUERY_TYPE = '/data_api/query_type';

//删除查询方式
export const DELETE_QUERY_TYPE = '/data_api/query_type';

export const POST_QUERY_TYPE_API = '/data_api/base_api';

export const GET_QUERYTYPE_INTERFACE = '/data_api/query_type_base_api_list';

//阿里云权限
export const GET_AUTH_OSS = '/auth/oss';
// --------------------------provides 供应商---------------------
//供应商列表
export const GET_PROVIDES_LIST = '/provider/provider_platform';

export const PUT_DATASOURCE = '/provider/provider_platform';
export const POST_DATASOURCE = '/provider/provider_platform';
export const DELETE_DATASOURCE = '/provider/provider_platform';

export const PUT_SOURCE_API = '/provider/provider_threshold';
//获取数据源下面的商户
export const GET_SOURCE_MERCHANT = '/provider/provider_merchant_api';
//数据源 api
export const GET_SOURCE_API_LIST = '/provider/provider_platform_api';
export const POST_SOURCE_MERCNAHNT = '/provider/provider_platform_api';
export const PUT_SOURCE_MERCNAHNT = '/provider/provider_platform_api';
export const DELELE_SOURCE_API = '/provider/provider_platform_api';
export const GET_API_FUSING_INFO = '/provider/provider_api_hystrix';
export const PUT_API_FUSING_INFO = '/provider/provider_api_hystrix';
//获取错误码
export const GET_ERROR_CODE_LIST = '/error_code/error_code_list';
export const GET_MERCHANT_REPORT_OnLine = '/access_log/user_access_count';

//报表
export const GET_PROVIDER_STATISTICS_REPORT = '/access_log/thirdpart_access_interface_count';
export const GET_MERCHANT_TREND = '/access_log/bi_api_trend';
export const GET_MERCHANT_RESULT = '/access_log/bi_api_distribution';
export const GET_MERCHANT_COST = '/access_log/bi_pay_distribution';
export const GET_MERCHANT_MONITOR = '/access_log/bi_api_status';

// 管理系统
export const GET_ACCOUNT_LIST = '/admin/list';
export const DELETE_admin = '/admin/admin';
export const PUT_ADMIN = '/admin/status';
export const GET_GROUP_LIST = '/admin/rbac_group_list';
export const GET_NODE_LIST = '/admin/node_list';
export const GET_Logging_LIST = '/action_log';
export const POST_Logging_LIST = '/admin/admin';
export const PUT_Logging_LIST = '/admin/admin';
export const DELETE_GROUP = 'admin/rbac_group';
export const POST_ADD_GROUP = '/admin/rbac_group';
export const PUT_ADD_GROUP = '/admin/rbac_group';
export const GET_REPORT_MERCHANT_ONLINE = '/access_log/access_log_interface_count';
export const GET_PROVIDE_USAGE_STATISTICS = '/access_log/thirdpart_access_count';
export const GET_ACCOUNT_INFO = '/admin/info';

//查询方式
export const DELETE_COMBO = '/data_api/data_combo';
export const POST_COMBO = '/data_api/data_combo';
//任务
export const DELETE_TASK = '/base_api/try_api_task';
// 商户导出任务 (控制面板-统计报表-商户统计报表-导出任务)
export const MERCHANT_EXPORT_TASK = '/access_log/user_access_count_export';
export const GET_TASKS = '/access_log/exports';
export const DELELE_TASK = '/access_log/export';
/**
 * 仪表盘-供应商
 */
//服务概况
export const PROVIDE_SERVER = '/access_log/provider_service_data_info';

//数据编辑
export const DATA_EDITOR_DB = '/data_editor/db';
export const DATA_FILED_TITLE = '/data_editor/title';
export const SEARCH_GET_DATA = '/data_editor/data';
