mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update sys.php
This commit is contained in:
parent
667bd65ff4
commit
89b11374bf
@ -30,7 +30,7 @@ app()->db->listen(function ($sqlstr) {
|
||||
if (stripos($matches[1] = Str::studly($matches[1]), 'SystemOplog') === false) {
|
||||
$matches[3] = substr(str_replace(['`', ' '], '', $matches[3]), 0, 200);
|
||||
$matches[2] = substr(str_replace(['`', ' '], '', $matches[2]), 0, 200);
|
||||
return sysoplog("更新数据 {$matches[1]}( {$matches[3]} )", "更新数据:{$matches[2]}");
|
||||
return sysoplog("更新数据 {$matches[1]}( {$matches[3]} )", "更新内容:{$matches[2]}");
|
||||
}
|
||||
} elseif (preg_match('/^DELETE\s*FROM\s*`(.*?)`\s*WHERE\s*(.*?)\s*$/i', $sqlstr, $matches)) {
|
||||
if (stripos($matches[1] = Str::studly($matches[1]), 'SystemOplog') === false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user