更新:后台权限排序更新调整时,同步更新角色权限缓存
parent
adc9c78394
commit
2ba5674952
|
@ -60,6 +60,7 @@ class Rule extends Base
|
|||
if(!empty($updateData)){
|
||||
$model = new AuthRule();
|
||||
$model->saveAll($updateData);
|
||||
AuthGroup::resetGroupRulesCache();
|
||||
$sortStr = $sort == 'up' ? '上移' : '下调';
|
||||
Log::write('rule', 'sort', "权限排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位");
|
||||
return $this->json();
|
||||
|
|
Loading…
Reference in New Issue