* Process options method.

This commit is contained in:
zhujinyong
2021-09-01 09:02:37 +08:00
parent 664e290f97
commit 4a0c1241bd
2 changed files with 10 additions and 2 deletions
+1
View File
@@ -198,6 +198,7 @@ class api extends router
$entryName = $this->entry . 'Entry';
$entry = new $entryName();
if($this->action == 'options') return $entry->send(204);
call_user_func_array(array($entry, $this->action), $this->params);
}