Bladeren bron

id还原为menuid

wufeng 2 jaren geleden
bovenliggende
commit
e37b0a008b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      application/Admin/controller/Menu.php

+ 1 - 1
application/Admin/controller/Menu.php

@@ -217,7 +217,7 @@ class Menu extends Base
      * @throws \think\exception\DbException
      */
     public function ActionAdd(){
-        $pageid = isset($this->post['id']) ? intval($this->post['id']) : "";
+        $pageid = isset($this->post['menuid']) ? intval($this->post['menuid']) : "";
         if($pageid==""){
             return error_show(1001,'页面id不能为空');
         }