作者 lyh

gx

... ... @@ -58,7 +58,9 @@ class RouteMap extends Base
$title = Translate::tran($title, 'en');
}
$i=1;
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($title, true) . PHP_EOL, FILE_APPEND);
$sign = generateRoute($title);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($sign, true) . PHP_EOL, FILE_APPEND);
$info = self::where(['project_id' => $project_id, 'source' => $source, 'source_id'=>$source_id])->first();
$suffix = '';
if(empty($info)){
... ...