|
...
|
...
|
@@ -233,7 +233,7 @@ class TranslateLogic extends BaseLogic |
|
|
|
$info = $this->model->read(['language_id'=>$this->param['language_id'],'url'=>$this->param['url'],'type'=>$this->param['type']]);
|
|
|
|
if($info === false){
|
|
|
|
$param = [
|
|
|
|
'type'=>1,
|
|
|
|
'type'=>$this->param['type'],
|
|
|
|
'project_id'=>$this->user['project_id'],
|
|
|
|
'url'=>str_replace_url($this->param['url']),
|
|
|
|
'language_id'=>$this->param['language_id'],
|
...
|
...
|
|