Skip to content

Commit

Permalink
新增raw
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed May 19, 2020
1 parent e809977 commit f5045cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AnnotationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ protected function __annotationHook(string $actionName)
$value = ContextManager::getInstance()->get($paramName);
break;
}
case 'RAW':{
$value = $this->request()->getBody()->__toString();
break;
}
}
if($value !== null){
break;
Expand Down

0 comments on commit f5045cf

Please sign in to comment.