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