正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -58,7 +58,9 @@ class RouteMap extends Base | @@ -58,7 +58,9 @@ class RouteMap extends Base | ||
| 58 | $title = Translate::tran($title, 'en'); | 58 | $title = Translate::tran($title, 'en'); |
| 59 | } | 59 | } |
| 60 | $i=1; | 60 | $i=1; |
| 61 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($title, true) . PHP_EOL, FILE_APPEND); | ||
| 61 | $sign = generateRoute($title); | 62 | $sign = generateRoute($title); |
| 63 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($sign, true) . PHP_EOL, FILE_APPEND); | ||
| 62 | $info = self::where(['project_id' => $project_id, 'source' => $source, 'source_id'=>$source_id])->first(); | 64 | $info = self::where(['project_id' => $project_id, 'source' => $source, 'source_id'=>$source_id])->first(); |
| 63 | $suffix = ''; | 65 | $suffix = ''; |
| 64 | if(empty($info)){ | 66 | if(empty($info)){ |
-
请 注册 或 登录 后发表评论