作者 lyh

gx

@@ -100,6 +100,7 @@ class TranslateLogic extends BaseLogic @@ -100,6 +100,7 @@ class TranslateLogic extends BaseLogic
100 foreach ($array as $value) { 100 foreach ($array as $value) {
101 // 使用键作为临时数组的键,如果不存在则添加到去重后的数组中 101 // 使用键作为临时数组的键,如果不存在则添加到去重后的数组中
102 $key = key($value); 102 $key = key($value);
  103 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($key, true) . PHP_EOL, FILE_APPEND);
103 if (!isset($tempArray[$key])) { 104 if (!isset($tempArray[$key])) {
104 $tempArray[$key] = true; 105 $tempArray[$key] = true;
105 $uniqueArray[] = $value; 106 $uniqueArray[] = $value;