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