|
...
|
...
|
@@ -245,7 +245,7 @@ class lyhDemo extends Command |
|
|
|
{
|
|
|
|
ProjectServer::useProject(655);
|
|
|
|
$this->model = new Translate();
|
|
|
|
$lists = DB::connection('custom_mysql')->table('gl_translate_copy1')->where('url','!=','All')->get();
|
|
|
|
$lists = DB::connection('custom_mysql')->table('gl_translate_copy1')->where('url','!=','All')->get()->toArray();
|
|
|
|
foreach ($lists as $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']]);
|
...
|
...
|
|