作者 lyh

gx

@@ -100,7 +100,6 @@ class TranslateLogic extends BaseLogic @@ -100,7 +100,6 @@ 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);  
104 if (!isset($tempArray[$key])) { 103 if (!isset($tempArray[$key])) {
105 $tempArray[$key] = true; 104 $tempArray[$key] = true;
106 $uniqueArray[] = $value; 105 $uniqueArray[] = $value;