正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -37,7 +37,7 @@ class TranslateLogic extends BaseLogic | @@ -37,7 +37,7 @@ class TranslateLogic extends BaseLogic | ||
| 37 | if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){ | 37 | if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){ |
| 38 | $info = $this->model->read(['url'=>$this->param['url'],'language_id'=>$this->param['language_id'],'type'=>$this->param['type']]); | 38 | $info = $this->model->read(['url'=>$this->param['url'],'language_id'=>$this->param['language_id'],'type'=>$this->param['type']]); |
| 39 | if(!empty($info) && !empty($info['data'])){ | 39 | if(!empty($info) && !empty($info['data'])){ |
| 40 | - $translateInfo = json_decode($info['data'],JSON_UNESCAPED_UNICODE); | 40 | + $translateInfo = json_decode($info['data'],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); |
| 41 | foreach ($translateInfo as $k => $v){ | 41 | foreach ($translateInfo as $k => $v){ |
| 42 | $data[] = [$k=>$v]; | 42 | $data[] = [$k=>$v]; |
| 43 | } | 43 | } |
-
请 注册 或 登录 后发表评论