getAllFromCache使用remember方法,这里并不需要预先读取,在多次修改rule,但并没有检查时会造成性能问题
This commit is contained in:
parent
be8f70909b
commit
1638cbc006
|
@ -81,7 +81,6 @@ class Rule extends Model
|
|||
}
|
||||
|
||||
$this->forgetCache();
|
||||
$this->getAllFromCache();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue