正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论