|
...
|
...
|
@@ -294,9 +294,7 @@ class TranslateLogic extends BaseLogic |
|
|
|
$id = $this->model->addReturnId($param);
|
|
|
|
TranslateData::insert(['trans_id'=>$id,'data'=>json_encode($data,JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)]);
|
|
|
|
}else{
|
|
|
|
if(!empty($data)){
|
|
|
|
TranslateData::where(['trans_id'=>$info['id']])->update(['data'=>json_encode($data,JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)]);
|
|
|
|
}
|
|
|
|
TranslateData::where(['trans_id'=>$info['id']])->update(['data'=>json_encode($data,JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)]);
|
|
|
|
}
|
|
|
|
//写日志
|
|
|
|
$userLogModel = new UserLog();
|
...
|
...
|
|