正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -174,6 +174,7 @@ class UpdateRoute extends Command | @@ -174,6 +174,7 @@ class UpdateRoute extends Command | ||
| 174 | * @date 2023/4/17 | 174 | * @date 2023/4/17 |
| 175 | */ | 175 | */ |
| 176 | public static function generateRoute($title, $source, $source_id, $project_id){ | 176 | public static function generateRoute($title, $source, $source_id, $project_id){ |
| 177 | + echo date('Y-m-d H:i:s') . 'ceshi-------------' .$title. PHP_EOL; | ||
| 177 | $i=1; | 178 | $i=1; |
| 178 | $sign = generateRoute($title); | 179 | $sign = generateRoute($title); |
| 179 | $length = strlen($sign); | 180 | $length = strlen($sign); |
| @@ -192,6 +193,7 @@ class UpdateRoute extends Command | @@ -192,6 +193,7 @@ class UpdateRoute extends Command | ||
| 192 | $route = $sign .'-'.$i.$suffix; | 193 | $route = $sign .'-'.$i.$suffix; |
| 193 | $i++; | 194 | $i++; |
| 194 | } | 195 | } |
| 196 | + echo date('Y-m-d H:i:s') . 'ceshi-------------' .$route. PHP_EOL; | ||
| 195 | return $route; | 197 | return $route; |
| 196 | } | 198 | } |
| 197 | 199 |
-
请 注册 或 登录 后发表评论