fixed 权限模型Insert后事件
This commit is contained in:
parent
b927f92ef1
commit
50ac3b60f7
@ -112,7 +112,7 @@ class Permissions extends CatchModel
|
||||
|
||||
$restful && self::createRestful($model, $level);
|
||||
|
||||
$model->updateBy('id', [
|
||||
$model->updateBy($model->id, [
|
||||
'level' => $level
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user