1         Likeword::offset(16854)->chunk(100, function ($word_list) {
2             foreach ($word_list as $word) {
3                 $new = str_replace(array("\r\n"), "", $word->likeword);
4                 $word->update(['likeword' => $new]);
5             }
6         });

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-22
  • 2021-06-12
  • 2021-07-15
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案