|
...
|
...
|
@@ -52,7 +52,10 @@ class TranslateLogic extends BaseLogic |
|
|
|
// 需要校对语种
|
|
|
|
$languageInfo = $this->getLanguage($this->param['language_id']);
|
|
|
|
// 原始校对内容
|
|
|
|
$info = $this->model->with('translate_data')->where(['url'=>$this->param['url'],'language_id'=>$this->param['language_id'],'type'=>$this->param['type']])->first();
|
|
|
|
$param = $this->getRouteSource($this->param['url']);
|
|
|
|
$param['language_id'] = $this->param['language_id'];
|
|
|
|
$param['type'] = $this->param['type'];
|
|
|
|
$info = $this->model->with('translate_data')->where($param)->first();
|
|
|
|
//获取当前URl的所有文本内容
|
|
|
|
$text_array = $this->getUrlRead($url);
|
|
|
|
// 原始校对程序
|
...
|
...
|
|