作者 Your Name
... ... @@ -54,6 +54,9 @@ class VisitController extends BaseController
* @time :2024/5/6 16:42
*/
public function downloadIndex(VisitLogic $logic){
if(isset($this->map['updated_date']) && is_array($this->map['updated_date'])){
$this->map['updated_date'] = ['between',$this->map['updated_date']];
}
$data = $logic->downloadItem($this->map,$this->page,$this->row,$this->order);
$this->response('success',Code::SUCCESS,$data);
}
... ...
... ... @@ -76,6 +76,9 @@ class TranslateLogic extends BaseLogic
$i = 0;
TranslateText:
$translate_list = Translate::tran($arr2, $languageInfo['short']);
if($this->user['project_id'] == 285){
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($translate_list, true) . PHP_EOL, FILE_APPEND);
}
if(empty($translate_list)){
if ($i < 3) {
$i++;
... ...