合并分支 'lyh-server' 到 'master'
gx脚本更新关键词前后缀 查看合并请求 !2233
正在显示
1 个修改的文件
包含
127 行增加
和
3 行删除
| @@ -53,12 +53,136 @@ class lyhDemo extends Command | @@ -53,12 +53,136 @@ class lyhDemo extends Command | ||
| 53 | */ | 53 | */ |
| 54 | public function aggregate_keyword_affix(){ | 54 | public function aggregate_keyword_affix(){ |
| 55 | $projectModel = new Project(); | 55 | $projectModel = new Project(); |
| 56 | - $lists = $projectModel->list(['delete_status' => 0,'project_type'=>0,'extend_type'=>0,'type'=>['in',[1,2,4]]], 'id', ['id']); | 56 | + $lists = $projectModel->list(['delete_status' => 0,'project_type'=>0,'extend_type'=>0,'type'=>['in',[1,2,4,6]]], 'id', ['id']); |
| 57 | $keywordAffixModel = new AggregateKeywordAffix(); | 57 | $keywordAffixModel = new AggregateKeywordAffix(); |
| 58 | foreach ($lists as $val){ | 58 | foreach ($lists as $val){ |
| 59 | $info = $keywordAffixModel->read(['project_id'=>$val['id']]); | 59 | $info = $keywordAffixModel->read(['project_id'=>$val['id']]); |
| 60 | - $prefix = "How To find"."\n"."Why Choose"."\n"."China Top"."\n"."Best Way To Choose"."\n"."Methods To Choose"; | ||
| 61 | - $suffix = "Manufacturer"."\n"."Supplier"."\n"."Products"."\n"."Factory"; | 60 | + $prefix = "How To |
| 61 | +Why | ||
| 62 | +Top 5 | ||
| 63 | +Top 3 | ||
| 64 | +Best Way To | ||
| 65 | +Methods To | ||
| 66 | +Top-Rated | ||
| 67 | +How To find | ||
| 68 | +why choose | ||
| 69 | +China Top | ||
| 70 | +Best Way To Choose | ||
| 71 | +Methods To choose | ||
| 72 | +10 tips | ||
| 73 | +Top 10 | ||
| 74 | +How To Select | ||
| 75 | +How To Find The Best | ||
| 76 | +How To Evaluate | ||
| 77 | +How To Compare | ||
| 78 | +How To Identify | ||
| 79 | +How To Source | ||
| 80 | +How To Pick The Right | ||
| 81 | +How To Decide Between | ||
| 82 | +Why Opt For | ||
| 83 | +Why Invest In | ||
| 84 | +Why Consider | ||
| 85 | +Why Trust | ||
| 86 | +Why Professionals Prefer | ||
| 87 | +Top Picks For | ||
| 88 | +Best Practices For | ||
| 89 | +Best Ways To | ||
| 90 | +Best Options For | ||
| 91 | +Best Brands For | ||
| 92 | +Best Methods To | ||
| 93 | +Best Strategies For | ||
| 94 | +Effective Ways To | ||
| 95 | +Proven Methods To | ||
| 96 | +Simple Ways To | ||
| 97 | +Key Methods For | ||
| 98 | +Smart Ways To | ||
| 99 | +Practical Methods To | ||
| 100 | +Step-by-Step Guide To | ||
| 101 | +10 Essential Tips For | ||
| 102 | +7 Key Tips To | ||
| 103 | +Ultimate Guide To | ||
| 104 | +Expert Tips For | ||
| 105 | +Must-Know Tips For | ||
| 106 | +Quick Tips To | ||
| 107 | +Insider Tips For | ||
| 108 | +Leading Chinese | ||
| 109 | +Best Chinese | ||
| 110 | +China’s Best-Selling | ||
| 111 | +Why China’s | ||
| 112 | +How Chinese Manufacturers | ||
| 113 | +Exploring | ||
| 114 | +Uncovering | ||
| 115 | +Discovering | ||
| 116 | +Pinpointing | ||
| 117 | +Decoding | ||
| 118 | +Reasons to Choose | ||
| 119 | +Advantages Explained | ||
| 120 | +Where the Value Lies | ||
| 121 | +Not to Be Missed | ||
| 122 | +Must-Choose Reasons | ||
| 123 | +Excellence in | ||
| 124 | +Cutting-Edge | ||
| 125 | +Premier | ||
| 126 | +Champions of | ||
| 127 | +The Ultimate Guide to | ||
| 128 | +Practical Strategies for | ||
| 129 | +Making Smart Choices | ||
| 130 | +Key Steps to Choosing | ||
| 131 | +Finding Your Perfect Match | ||
| 132 | +Avoiding Pitfalls | ||
| 133 | +Tips & Tricks for | ||
| 134 | +In-Depth Analysis of Methods | ||
| 135 | +How-To Guide | ||
| 136 | +Step-by-Step Guide | ||
| 137 | +The Secret to | ||
| 138 | +Must-See List | ||
| 139 | +Curated Selection of | ||
| 140 | +Trending | ||
| 141 | +Popular | ||
| 142 | +Don't Miss These | ||
| 143 | +Comprehensive Comparison of | ||
| 144 | +The Clear Choice of | ||
| 145 | +Today's Choice of | ||
| 146 | +Expert Choice of"; | ||
| 147 | + $suffix = "Manufacturer | ||
| 148 | +Supplier | ||
| 149 | +Application | ||
| 150 | +Products | ||
| 151 | +Service | ||
| 152 | +Factory | ||
| 153 | +Is The Best | ||
| 154 | +Stands Out | ||
| 155 | +Dominates | ||
| 156 | +in 2025 | ||
| 157 | +Industry Leaders | ||
| 158 | +Industry Giant | ||
| 159 | +Market Leader | ||
| 160 | +For the Current Year | ||
| 161 | +Ahead of the Curve | ||
| 162 | +Trusted by Pros | ||
| 163 | +Pioneers in the Field | ||
| 164 | +Now Trending | ||
| 165 | +Sets the Industry Standard | ||
| 166 | +Leads the Global Market | ||
| 167 | +Delivers Unmatched Quality | ||
| 168 | +Guarantees Peak Performance | ||
| 169 | +Exceeds Industry Benchmarks | ||
| 170 | +Winning in 2025 | ||
| 171 | +Where Innovation Meets 2025 | ||
| 172 | +Your Trusted OEM Partner | ||
| 173 | +Supplies the World’s Top Brands | ||
| 174 | +Manufacturers You Can Rely On | ||
| 175 | +Factory-Direct Excellence | ||
| 176 | +Custom Solutions, | ||
| 177 | +Global Reach | ||
| 178 | +Where Service Meets Innovation | ||
| 179 | +Your End-to-End Solution | ||
| 180 | +More Than a Supplier - A Partner | ||
| 181 | +Service Backed by Expertise | ||
| 182 | +From Concept to Delivery | ||
| 183 | +Outperforms the Competition"; | ||
| 184 | +// $prefix = "How To find"."\n"."Why Choose"."\n"."China Top"."\n"."Best Way To Choose"."\n"."Methods To Choose"; | ||
| 185 | +// $suffix = "Manufacturer"."\n"."Supplier"."\n"."Products"."\n"."Factory"; | ||
| 62 | if($info === false){ | 186 | if($info === false){ |
| 63 | echo '执行的项目id:'.$val['id'].PHP_EOL; | 187 | echo '执行的项目id:'.$val['id'].PHP_EOL; |
| 64 | $data = [ | 188 | $data = [ |
-
请 注册 或 登录 后发表评论