正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
| @@ -273,9 +273,6 @@ class TranslateLogic extends BaseLogic | @@ -273,9 +273,6 @@ class TranslateLogic extends BaseLogic | ||
| 273 | $sendData = $this->handleRoute($this->param['url']); | 273 | $sendData = $this->handleRoute($this->param['url']); |
| 274 | DB::beginTransaction(); | 274 | DB::beginTransaction(); |
| 275 | try { | 275 | try { |
| 276 | - if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){ | ||
| 277 | - $this->param['language_id'] = 0; | ||
| 278 | - } | ||
| 279 | $info = $this->model->read(['language_id'=>$this->param['language_id'],'url'=>$this->param['url'],'project_id'=>$this->user['project_id'],'type'=>$this->param['type']]); | 276 | $info = $this->model->read(['language_id'=>$this->param['language_id'],'url'=>$this->param['url'],'project_id'=>$this->user['project_id'],'type'=>$this->param['type']]); |
| 280 | if($info === false){ | 277 | if($info === false){ |
| 281 | $sourceInfo = $this->getRouteSource($sendData['new_route']); | 278 | $sourceInfo = $this->getRouteSource($sendData['new_route']); |
-
请 注册 或 登录 后发表评论