@@ -100,7 +100,7 @@ |
||
100 | 100 | * |
101 | 101 | * @param Request $request |
102 | 102 | * |
103 | - * @return \Illuminate\Http\Response |
|
103 | + * @return \Illuminate\Http\RedirectResponse |
|
104 | 104 | */ |
105 | 105 | public function logout(Request $request) |
106 | 106 | { |
@@ -94,6 +94,9 @@ |
||
94 | 94 | } |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param string $command |
|
99 | + */ |
|
97 | 100 | private function executeCommand($command) |
98 | 101 | { |
99 | 102 | $process = new Process($command); |
@@ -65,6 +65,10 @@ |
||
65 | 65 | $roleEdit->id, 0, '', '用于编辑角色时获取数据'); |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $name |
|
70 | + * @param string $displayName |
|
71 | + */ |
|
68 | 72 | private function insertPerm( |
69 | 73 | $name, $displayName, $pid, $isMenu = 0, $icon = '', $description = '' |
70 | 74 | ) { |