|
...
|
...
|
@@ -247,6 +247,7 @@ class lyhDemo extends Command |
|
|
|
$this->model = new Translate();
|
|
|
|
$lists = DB::connection('custom_mysql')->table('gl_translate_copy1')->where('url','!=','All')->get()->toArray();
|
|
|
|
foreach ($lists as $item) {
|
|
|
|
$item = (array)$item;
|
|
|
|
$sourceInfo = $this->getRouteSource($item['url']);
|
|
|
|
$info = $this->model->read(['language_id'=>$item['language_id'],'source_id'=>$sourceInfo['source_id'],'url'=>$item['url'],'project_id'=>655,'type'=>$item['type']]);
|
|
|
|
if($info === false){
|
...
|
...
|
|