|
...
|
...
|
@@ -38,6 +38,9 @@ class TranslateLogic extends BaseLogic |
|
|
|
public function getTranslateList(){
|
|
|
|
$data = [];
|
|
|
|
if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){
|
|
|
|
if($this->param['url'] == 'other_all_text'){
|
|
|
|
$this->param['language_id'] = 0;
|
|
|
|
}
|
|
|
|
$info = $this->model->with('translate_data')->where(['url'=>$this->param['url'],'language_id'=>$this->param['language_id'],'type'=>$this->param['type']])->first();
|
|
|
|
if(!empty($info) && !empty($info['translate_data'])){
|
|
|
|
$translateInfo = json_decode($info['translate_data']['data'],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
...
|
...
|
|