shawenguan před 2 týdny
rodič
revize
59e6324779
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      Scripts/zhuanzhuan/zhuanzhuanSearch.js

+ 3 - 3
Scripts/zhuanzhuan/zhuanzhuanSearch.js

@@ -145,9 +145,9 @@ async function doSearch(keyword, pagenum = 1, pagesize = 20) {
         "verticalAbTest": ""
     }
     let bodyText = magicJS.objToQueryStr(postData, true);
-    magicJS.logger.info(`bodyText=${bodyText}`);
-    // bodyText = `b2cInfoCardAB=B&changeIntention=0&filterModuleServerParamsInput=%7B%22searchScene%22%3A1%2C%22scene%22%3A1%2C%22filterModuleParam%22%3A%7B%22version%22%3A%221.7.0%22%2C%22appType%22%3A%222%22%7D%2C%22keyword%22%3A%22iphone%2015%20pro%22%7D&keyword=iphone%2015%20pro&pageIdParams=%7B%22refpagequery%22%3A%22from%3D1%22%2C%22refpagetype%22%3A%22V1008%22%2C%22refsubpageid%22%3A%22%22%7D&pagenum=1&pagesize=20&pushcode=1&recModelAB=1&requestmark=1736142162130&searcfilterhmove2zzsearch=1&searchAccurateFilterAB=2&searchPageSource=1&searchRecommendRankAB=A&searchStandardPropertiesAB=B&search_9_0_0=B&searchfrom=1&searchsuggestcate=1&serviceId=&sessionStr=%7B%22abtest%22%3A%22feedwords.base_feedwords_0407_base%3Aflow_management_362.cgroup_flow_management_362%3Aflow_management_405.agroup_flow_management_405%3Aflow_management_407.agroup_flow_management_407%3Asegment.base_segment_0412_base%3Asortstrategy.base_sortstrategy_0407_base%3Atermrecalloff.termrecalloff0102%22%2C%22session%22%3A%2270c64fd1ab35b08360a02901c03abb4758a15705%22%7D&usePgParam=1&v7abtest=1&verticalAbTest=`;
-    // bodyText.replace('pagenum=1&pagesize=20', `pagenum=${pagenum}&pagesize=${pagesize}`);
+    // magicJS.logger.info(`bodyText=${bodyText}`);
+    bodyText = `b2cInfoCardAB=B&changeIntention=0&filterModuleServerParamsInput=%7B%22searchScene%22%3A1%2C%22scene%22%3A1%2C%22filterModuleParam%22%3A%7B%22version%22%3A%221.7.0%22%2C%22appType%22%3A%222%22%7D%2C%22keyword%22%3A%22iphone%2015%20pro%22%7D&keyword=iphone%2015%20pro&pageIdParams=%7B%22refpagequery%22%3A%22from%3D1%22%2C%22refpagetype%22%3A%22V1008%22%2C%22refsubpageid%22%3A%22%22%7D&pagenum=1&pagesize=20&pushcode=1&recModelAB=1&requestmark=1736142162130&searcfilterhmove2zzsearch=1&searchAccurateFilterAB=2&searchPageSource=1&searchRecommendRankAB=A&searchStandardPropertiesAB=B&search_9_0_0=B&searchfrom=1&searchsuggestcate=1&serviceId=&sessionStr=%7B%22abtest%22%3A%22feedwords.base_feedwords_0407_base%3Aflow_management_362.cgroup_flow_management_362%3Aflow_management_405.agroup_flow_management_405%3Aflow_management_407.agroup_flow_management_407%3Asegment.base_segment_0412_base%3Asortstrategy.base_sortstrategy_0407_base%3Atermrecalloff.termrecalloff0102%22%2C%22session%22%3A%2270c64fd1ab35b08360a02901c03abb4758a15705%22%7D&usePgParam=1&v7abtest=1&verticalAbTest=`;
+    bodyText.replace('pagenum=1&pagesize=20', `pagenum=${pagenum}&pagesize=${pagesize}`);
     let options = {
         url: url,
         headers: headers,