From 329b05c36a0bbace19d2be9726ca7eb06d70d41a Mon Sep 17 00:00:00 2001 From: Fatpandac <1779196284@qq.com> Date: Thu, 3 Feb 2022 02:23:15 +0800 Subject: [PATCH] fix(route): epicgames change graphql request address (#8981) * Fix(route): fix route address * Fix(route): change request address --- lib/v2/epicgames/supportedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/epicgames/supportedList.js b/lib/v2/epicgames/supportedList.js index 0551713432..7cefe5f6c3 100644 --- a/lib/v2/epicgames/supportedList.js +++ b/lib/v2/epicgames/supportedList.js @@ -4,7 +4,7 @@ module.exports = { collectionCN: '免费游戏', homeLink: 'https://www.epicgames.com/store/zh-CN/', // link: 'https://www.epicgames.com/store/zh-CN/collection/free-games-collection', - link: 'https://www.epicgames.com/store/backend/graphql-proxy', + link: 'https://www.epicgames.com/graphql', jsonData: JSON.stringify({ query: 'query searchStoreQuery($allowCountries: String, $category: String, $count: Int, $country: String!, $keywords: String, $locale: String, $namespace: String, $sortBy: String, $sortDir: String, $start: Int, $tag: String, $withPrice: Boolean = false, $withPromotions: Boolean = false) {\n Catalog {\n searchStore(allowCountries: $allowCountries, category: $category, count: $count, country: $country, keywords: $keywords, locale: $locale, namespace: $namespace, sortBy: $sortBy, sortDir: $sortDir, start: $start, tag: $tag) {\n elements {\n title\n id\n namespace\n description\n effectiveDate\n keyImages {\n type\n url\n }\n seller {\n id\n name\n }\n productSlug\n urlSlug\n url\n items {\n id\n namespace\n }\n customAttributes {\n key\n value\n }\n categories {\n path\n }\n price(country: $country) @include(if: $withPrice) {\n totalPrice {\n discountPrice\n originalPrice\n voucherDiscount\n discount\n currencyCode\n currencyInfo {\n decimals\n }\n fmtPrice(locale: $locale) {\n originalPrice\n discountPrice\n intermediatePrice\n }\n }\n lineOffers {\n appliedRules {\n id\n endDate\n discountSetting {\n discountType\n }\n }\n }\n }\n promotions(category: $category) @include(if: $withPromotions) {\n promotionalOffers {\n promotionalOffers {\n startDate\n endDate\n discountSetting {\n discountType\n discountPercentage\n }\n }\n }\n upcomingPromotionalOffers {\n promotionalOffers {\n startDate\n endDate\n discountSetting {\n discountType\n discountPercentage\n }\n }\n }\n }\n }\n paging {\n count\n total\n }\n }\n }\n}\n', variables: {