|
@@ -44,6 +44,7 @@ class ArticleController extends ControllerAdapter {
|
|
|
* @throws PageNotFoundException if Article could not be found.
|
|
* @throws PageNotFoundException if Article could not be found.
|
|
|
*/
|
|
*/
|
|
|
function getDoArticle(int $articleId): void {
|
|
function getDoArticle(int $articleId): void {
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -89,7 +90,7 @@ class ArticleController extends ControllerAdapter {
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
function postDoArticle(ParamBody $body): void {
|
|
function postDoArticle(ParamBody $body): void {
|
|
|
- $body->toArray();
|
|
|
|
|
|
|
+ $body->parseJson();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|