|
@@ -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不能为空');
|
|
|
}
|