快速添加菜单

This commit is contained in:
zhang zhuo 2025-06-23 14:03:29 +08:00
parent de7d821aaa
commit eef3f5d49b
1 changed files with 1 additions and 1 deletions

View File

@ -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);