const API_DOMAIN = 'https://www.seerfar.cn';//线上接口域名
// const API_DOMAIN = 'http://115.190.78.110:10010';//内网接口域名
const config = {
    productSearchApi: `${API_DOMAIN}/product-report/browserPlugin/product/search`,
    wbProductSearchApi: `${API_DOMAIN}/product-report/browserPlugin/product/wb/search`,
    productSalesTrendApi: `${API_DOMAIN}/product-report/browserPlugin/product/salesTrend`,
    wbProductSalesTrendApi: `${API_DOMAIN}/product-report/browserPlugin/product/wb/salesTrend`,
    reportProductDataApi: `${API_DOMAIN}/product-report/browserPlugin/productInfoGrab`,
    captchaApi: `${API_DOMAIN}/user-center/browserPlugin/getImgCaptcha`,
    loginApi: `${API_DOMAIN}/user-center/browserPlugin/login/v2`,
    currencyRateApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/getCurrencyRate`,
    calcCategoryListApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/getCategoryTree`,
    calculateApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/calculate/v2`, 
    wbCalculateApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/wb/calculate`,
    calcLogisticApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/calculateLogisticsCost/v2`,
    calcSearchApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/search/v2`,
    wbCalcSearchApi: `${API_DOMAIN}/product-report/browserPlugin/calculator/wb/search`,
    systemVariablesApi: `${API_DOMAIN}/user-center/browserPlugin/system/variables`,
    keywordMinerApi: `${API_DOMAIN}/keyword-report/browserPlugin/keyword/mining`,
    keywordReverseApi: `${API_DOMAIN}/keyword-report/browserPlugin/keyword/back-search`,
    userInfoApi: `${API_DOMAIN}/user-center/browserPlugin/user`,
    checkDownloadApi: `${API_DOMAIN}/product-report/browserPlugin/download`,
    collectProductApi: `${API_DOMAIN}/erp-web/browserPlugin/{platform}/product/collect`,
    imageQueryApi: `${API_DOMAIN}/erp-web/browserPlugin/{platform}/imageQuery`,
    searchTrendApi: `${API_DOMAIN}/keyword-report/browserPlugin/market/chart`,
    googleTrendApi: `${API_DOMAIN}/keyword-report/browserPlugin/keyword/trends/google/search`,
    yandexTrendApi: `${API_DOMAIN}/keyword-report/browserPlugin/keyword/trends/yandex/search`,
    cardRatingApi: `${API_DOMAIN}/product-report/browserPlugin/productCard/rating/{platform}`,
    addReviewAnalysisApi: `${API_DOMAIN}/product-report/browserPlugin/reviewAnalyse/{platform}/addTask`,
    sendNotifyApi: `${API_DOMAIN}/user-center/browserPlugin/wbAppointmentStock/bookingStock`,
    productLibraryListApi: `${API_DOMAIN}/product-report/browserPlugin/product/library/{platform}/getAll`,
    newProductLibraryApi: `${API_DOMAIN}/product-report/browserPlugin/product/library/{platform}/saveOrUpdate`,
    addToProductLibraryApi: `${API_DOMAIN}/product-report/browserPlugin/product/library/{platform}/addProductBatch`,
    addProductTrackerApi: `${API_DOMAIN}/product-report/browserPlugin/monitor/product/addBatch/{platform}`,
    getProductImagesApi: `${API_DOMAIN}/product-report/browserPlugin/{platform}/photo`,
    get1688CollectProductsApi: `${API_DOMAIN}/erp-web/browserPlugin/1688/product/collect/detail`,
    collectPlatformProductApi: `${API_DOMAIN}/erp-web/browserPlugin/product/collect`,
    // 这里是获取ozon商品具体详情信息的官方API
    entrypointApi_1: 'https://www.ozon.ru/api/entrypoint-api.bx/page/json/v2?url=/product/{sku}/?oos_search=false',
    entrypointApi_2: 'https://www.ozon.ru/api/entrypoint-api.bx/page/json/v2?url=/product/{sku}/?layout_container=pdpPage2column&layout_page_index=2&oos_search=false',
    webDeliveryApi: 'https://www.ozon.ru/api/composer-api.bx/widget/json/v2?widgetStateId=webDelivery-{id}-default-1',
};
