hunk.code_window:             let link = `${rootUrl}/${locale}/p/`;
               let contentUrl = `${contentBaseUrl}/products/`;
               let isBundles = false;
               item.categories.some((category) => {
                   if (category.path === 'bundles') {
                       link = `${rootUrl}/${locale}/bundles/`;
                       isBundles = true;
                       contentUrl = `${contentBaseUrl}/bundles/`;
                       return true;
                   }
                   return false;
               });
               const linkSlug = item.catalogNs.mappings.length > 0 ? item.catalogNs.mappings[0].pageSlug : item.offerMappings.length > 0 ? item.offerMappings[0].pageSlug : item.productSlug ? item.productSlug : item.urlSlug;
               link += linkSlug;
               contentUrl += linkSlug;
  
hunk.labels: keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep
hunk.after_edit:             if (item.categories.some((category) => category.path === 'bundles')) {
                   link = `${rootUrl}/${locale}/bundles/`;
                   isBundles = true;
                   contentUrl = `${contentBaseUrl}/bundles/`;
               }
  
hunk.file_path: lib/v2/epicgames/index.js
hunk.type: replace
file: const got = require('@/utils/got');
  
  module.exports = async (ctx) => {
      const link = `https://www.nowcoder.com/recommand/activity?token=&type=3&_=${new Date().getTime()}`;
      const responseBody = (await got.get(link)).data;
      if (responseBody.code !== 0) {
          throw Error(`接口错误，错误代码:${responseBody.code},错误原因:${responseBody.msg}`);
      }
      const data = responseBody.data.activitys;
      ctx.state.data = {
          title: '牛客网-推荐',
          link: 'https://www.nowcoder.com/recommend',
          description: '牛客网-推荐',
          item: data.map((item) => ({
              title: item.name,
              description: `<img src="${item.img}">`,
              link: `https://www.nowcoder.com${item.url}`,
          })),
      };
  };
  