Optimize blog slug generation

前端 未结 0 581
盖世英雄少女心
盖世英雄少女心 2021-02-04 02:10

When I save my blog post i create a unique slug. And I was wondering how to optimize this part of the code:

//create unque slug
$uniqueslug = Str::slug($requestAr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题