mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update SystemAuth.php
This commit is contained in:
parent
59963da0e4
commit
87fa82145b
@ -43,7 +43,7 @@ class SystemAuth extends Model
|
||||
*/
|
||||
public function onAdminDelete(string $ids)
|
||||
{
|
||||
if (count($aids = str2arr($aids ?? '')) > 0) {
|
||||
if (count($aids = str2arr($ids ?? '')) > 0) {
|
||||
M('SystemAuthNode')->whereIn('auth', $aids)->delete();
|
||||
}
|
||||
sysoplog($this->oplogType, "删除{$this->oplogName}[{$ids}]及授权配置");
|
||||
|
Loading…
x
Reference in New Issue
Block a user