|
@@ -92,7 +92,7 @@ class Auth extends Controller
|
|
|
*/
|
|
|
public function apply()
|
|
|
{
|
|
|
- $map = $this->_vali(['id.require' => '权限ID不能为空!']);
|
|
|
+ $map = $this->_vali(['id.require' => '权限ID不能为空!'],$this->request->method());
|
|
|
if (input('action') === 'get') {
|
|
|
if ($this->app->isDebug()) AdminService::clearCache();
|
|
|
$nodes = SystemNode::mk()->where($map)->column('node');
|