作者 lyh

gx

... ... @@ -174,6 +174,7 @@ class UpdateRoute extends Command
* @date 2023/4/17
*/
public static function generateRoute($title, $source, $source_id, $project_id){
echo date('Y-m-d H:i:s') . 'ceshi-------------' .$title. PHP_EOL;
$i=1;
$sign = generateRoute($title);
$length = strlen($sign);
... ... @@ -192,6 +193,7 @@ class UpdateRoute extends Command
$route = $sign .'-'.$i.$suffix;
$i++;
}
echo date('Y-m-d H:i:s') . 'ceshi-------------' .$route. PHP_EOL;
return $route;
}
... ...