作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !200
@@ -43,40 +43,40 @@ class HtmlCustomCollect extends Command @@ -43,40 +43,40 @@ class HtmlCustomCollect extends Command
43 $project_id = 633; 43 $project_id = 633;
44 $project_site = 'v6-ke5nz.globalso.site'; 44 $project_site = 'v6-ke5nz.globalso.site';
45 $pages = [ 45 $pages = [
46 - 'https://www.mach-sales.com/case_catalog/cases/',  
47 - 'https://www.mach-sales.com/case_catalog/cases/page/2/',  
48 - 'https://www.mach-sales.com/case_catalog/cases/page/3/',  
49 - 'https://www.mach-sales.com/case/growing-with-customers-from-small-motors-to-big-drivers/',  
50 - 'https://www.mach-sales.com/case/growing-together-with-customers-the-journey-of-intelligent-manufacturing-in-a-modernized-factory/', 46 +// 'https://www.mach-sales.com/case_catalog/cases/',
  47 +// 'https://www.mach-sales.com/case_catalog/cases/page/2/',
  48 +// 'https://www.mach-sales.com/case_catalog/cases/page/3/',
  49 +// 'https://www.mach-sales.com/case/growing-with-customers-from-small-motors-to-big-drivers/',
  50 +// 'https://www.mach-sales.com/case/growing-together-with-customers-the-journey-of-intelligent-manufacturing-in-a-modernized-factory/',
51 'https://www.mach-sales.com/case/%e3%80%90growing-together-with-customers%e3%80%91-the-evolutionary-journey-of-a-baking-brand/', 51 'https://www.mach-sales.com/case/%e3%80%90growing-together-with-customers%e3%80%91-the-evolutionary-journey-of-a-baking-brand/',
52 - 'https://www.mach-sales.com/case/sumecs-footprints-in-belt-and-road-singapore/',  
53 - 'https://www.mach-sales.com/case/sumecs-footprints-in-belt-and-road-southeast-asia/',  
54 - 'https://www.mach-sales.com/case/naming-and-delivery-of-a-new-ship-1/',  
55 - 'https://www.mach-sales.com/case/a-newly-signed-contract-cable-manufacturing-equipment/',  
56 - 'https://www.mach-sales.com/case/its-amazing-that-the-glass-can-also-save-energy/', 52 +// 'https://www.mach-sales.com/case/sumecs-footprints-in-belt-and-road-singapore/',
  53 +// 'https://www.mach-sales.com/case/sumecs-footprints-in-belt-and-road-southeast-asia/',
  54 +// 'https://www.mach-sales.com/case/naming-and-delivery-of-a-new-ship-1/',
  55 +// 'https://www.mach-sales.com/case/a-newly-signed-contract-cable-manufacturing-equipment/',
  56 +// 'https://www.mach-sales.com/case/its-amazing-that-the-glass-can-also-save-energy/',
57 'https://www.mach-sales.com/case/%e3%80%90grow-with-customers%e3%80%91better-service-for-papermaking-equipment-procurement/', 57 'https://www.mach-sales.com/case/%e3%80%90grow-with-customers%e3%80%91better-service-for-papermaking-equipment-procurement/',
58 - 'https://www.mach-sales.com/case/expansion-of-blower-equipment-contributes-to-environmental-protection/',  
59 - 'https://www.mach-sales.com/case/new-ship-type-new-contract/',  
60 - 'https://www.mach-sales.com/case/new-arrival-introducing-the-latest-ship-model/',  
61 - 'https://www.mach-sales.com/case/another-contract-signed-in-the-philippines/',  
62 - 'https://www.mach-sales.com/case/the-road-to-going-global-is-supported-by-sumec-services/',  
63 - 'https://www.mach-sales.com/case/sumec-textile-launches-sun-protection-series-in-collaboration-with-skechers-kids/',  
64 - 'https://www.mach-sales.com/case/footwear-manufacturing-equipment-new-contract/',  
65 - 'https://www.mach-sales.com/case/sumec-energy-company-has-successfully-signed-a-photovoltaic-component-supply-agreement-with-wattkraft-a-german-engineering-system-integrator/',  
66 - 'https://www.mach-sales.com/case/sumec-technology-company-successfully-signed-a-contract-for-the-equipment-related-to-the-high-strength-particleboard-project/', 58 +// 'https://www.mach-sales.com/case/expansion-of-blower-equipment-contributes-to-environmental-protection/',
  59 +// 'https://www.mach-sales.com/case/new-ship-type-new-contract/',
  60 +// 'https://www.mach-sales.com/case/new-arrival-introducing-the-latest-ship-model/',
  61 +// 'https://www.mach-sales.com/case/another-contract-signed-in-the-philippines/',
  62 +// 'https://www.mach-sales.com/case/the-road-to-going-global-is-supported-by-sumec-services/',
  63 +// 'https://www.mach-sales.com/case/sumec-textile-launches-sun-protection-series-in-collaboration-with-skechers-kids/',
  64 +// 'https://www.mach-sales.com/case/footwear-manufacturing-equipment-new-contract/',
  65 +// 'https://www.mach-sales.com/case/sumec-energy-company-has-successfully-signed-a-photovoltaic-component-supply-agreement-with-wattkraft-a-german-engineering-system-integrator/',
  66 +// 'https://www.mach-sales.com/case/sumec-technology-company-successfully-signed-a-contract-for-the-equipment-related-to-the-high-strength-particleboard-project/',
67 'https://www.mach-sales.com/case/%e3%80%90growing-together-with-our-customers%e3%80%91together-on-the-road-to-transformation/', 67 'https://www.mach-sales.com/case/%e3%80%90growing-together-with-our-customers%e3%80%91together-on-the-road-to-transformation/',
68 - 'https://www.mach-sales.com/case/new-signing/',  
69 - 'https://www.mach-sales.com/case/complete-the-last-mile-equipment-procurement-from-around-the-world/',  
70 - 'https://www.mach-sales.com/case/science-and-technology-to-rejuvenate-agriculture-this-plant-factory-is-not-simple/',  
71 - 'https://www.mach-sales.com/case/new-cooperation-high-end-equipment-going-global/',  
72 - 'https://www.mach-sales.com/case/a-new-cooperation-with-an-annual-output-of-40000-tons/',  
73 - 'https://www.mach-sales.com/case/a-new-contract-cooperation-upgrades/',  
74 - 'https://www.mach-sales.com/case/annual-output-of-50000-tons-this-bopp-film-production-line-was-officially-put-into-operation/',  
75 - 'https://www.mach-sales.com/case/this-is-sumec-speed/',  
76 - 'https://www.mach-sales.com/case/the-first-order-of-a-new-semiconductor-brand-equipment-direct-sales-bear-fruit-again/',  
77 - 'https://www.mach-sales.com/case/sumec-touch-world-celebrates-its-5th-anniversary-with-well-known-suppliers/',  
78 - 'https://www.mach-sales.com/case/from-traditional-agency-to-digital-service/',  
79 - 'https://www.mach-sales.com/case/cooperation-win-win-and-starting-anew-sumec-creates-a-new-sample-of-strong-enterprise-cooperation/' 68 +// 'https://www.mach-sales.com/case/new-signing/',
  69 +// 'https://www.mach-sales.com/case/complete-the-last-mile-equipment-procurement-from-around-the-world/',
  70 +// 'https://www.mach-sales.com/case/science-and-technology-to-rejuvenate-agriculture-this-plant-factory-is-not-simple/',
  71 +// 'https://www.mach-sales.com/case/new-cooperation-high-end-equipment-going-global/',
  72 +// 'https://www.mach-sales.com/case/a-new-cooperation-with-an-annual-output-of-40000-tons/',
  73 +// 'https://www.mach-sales.com/case/a-new-contract-cooperation-upgrades/',
  74 +// 'https://www.mach-sales.com/case/annual-output-of-50000-tons-this-bopp-film-production-line-was-officially-put-into-operation/',
  75 +// 'https://www.mach-sales.com/case/this-is-sumec-speed/',
  76 +// 'https://www.mach-sales.com/case/the-first-order-of-a-new-semiconductor-brand-equipment-direct-sales-bear-fruit-again/',
  77 +// 'https://www.mach-sales.com/case/sumec-touch-world-celebrates-its-5th-anniversary-with-well-known-suppliers/',
  78 +// 'https://www.mach-sales.com/case/from-traditional-agency-to-digital-service/',
  79 +// 'https://www.mach-sales.com/case/cooperation-win-win-and-starting-anew-sumec-creates-a-new-sample-of-strong-enterprise-cooperation/'
80 ]; 80 ];
81 81
82 // $project_id = 437; 82 // $project_id = 437;
@@ -181,7 +181,6 @@ class HtmlCustomCollect extends Command @@ -181,7 +181,6 @@ class HtmlCustomCollect extends Command
181 181
182 //html写入文件 182 //html写入文件
183 $file_path = '/www/wwwroot/globalso-v6-c-glo/public/' . $project_site . $path; 183 $file_path = '/www/wwwroot/globalso-v6-c-glo/public/' . $project_site . $path;
184 - $file_path = iconv("UTF-8", "GBK", $file_path);  
185 if (!file_exists($file_path)) { 184 if (!file_exists($file_path)) {
186 mkdir($file_path, 0777, true); 185 mkdir($file_path, 0777, true);
187 } 186 }