|
@@ -200,6 +200,8 @@ class OperationLogService extends Service
|
|
|
$result = array_filter(config('oa'), function ($array) use ($key, $value) {
|
|
|
return $array[$key] == $value;
|
|
|
});
|
|
|
+ $result = array_values($result);
|
|
|
+
|
|
|
if (!isset($result[0]['children'])) return [true, ''];
|
|
|
$result = $result[0];
|
|
|
try {
|