解决发货Bug

This commit is contained in:
2024-09-23 10:27:52 +08:00
parent 7f750014c8
commit 705c6b3082
3 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class MenuController extends AuthController
$menu2s = Menu::find()->where(['in','menuUrl',$AuthRule_path])->andWhere(['hidden'=>0])->orderBy(['sort'=>SORT_ASC])->asArray()->all();
return ArrayHelper::itemsMerge($menu2s,0,'menuUrl','parentPath','children');
return ArrayHelper::itemsMerge($menu2s,'','menuUrl','parentPath','children');
}
public function actionSave(){
$menuUrl = $this->post('menuUrl');