快速添加菜单
This commit is contained in:
parent
de7d821aaa
commit
eef3f5d49b
|
|
@ -73,7 +73,7 @@ class System extends Base
|
|||
#[Auth(needAuth: false, auth: "menu:quick")]
|
||||
public function menuQuickAdd()
|
||||
{
|
||||
$data = Param::only(['pid' => 0, 'title' => '', 'flag', 'name', 'path', 'icon'], $this->request->post());
|
||||
$data = Param::only(['pid' => 0, 'title' => '', 'flag', 'name', 'path', 'icon', 'account_type' => 1], $this->request->post());
|
||||
$request = $this->container->get(mRequest::class);
|
||||
$request->scene('quick')->validateResolved();
|
||||
$res = mModel::quickAdd($data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue