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