|
...
|
...
|
@@ -37,7 +37,7 @@ class TranslateLogic extends BaseLogic |
|
|
|
if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){
|
|
|
|
$info = $this->model->read(['url'=>$this->param['url'],'language_id'=>$this->param['language_id'],'type'=>$this->param['type']]);
|
|
|
|
if(!empty($info) && !empty($info['data'])){
|
|
|
|
$translateInfo = json_decode($info['data'],JSON_UNESCAPED_UNICODE);
|
|
|
|
$translateInfo = json_decode($info['data'],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
|
|
|
foreach ($translateInfo as $k => $v){
|
|
|
|
$data[] = [$k=>$v];
|
|
|
|
}
|
...
|
...
|
|