mirror of https://gitee.com/karson/fastadmin.git
更新 AdminLog.php
parent
c8a6f4fd09
commit
a82b642118
|
|
@ -37,7 +37,7 @@ class AdminLog extends Model
|
||||||
if (!$content) {
|
if (!$content) {
|
||||||
$content = request()->param();
|
$content = request()->param();
|
||||||
foreach ($content as $k => $v) {
|
foreach ($content as $k => $v) {
|
||||||
if (is_string($v) && strlen($v) > 200 || stripos($k, 'password') !== false) {
|
if (is_string($v) && strlen($v) > 200 || stripos($k, 'password') !== false || is_array($v) || is_object($v)) {
|
||||||
unset($content[$k]);
|
unset($content[$k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue