diff --git a/src/main/java/com/teaching/backend/controller/cms/CmsEssayController.java b/src/main/java/com/teaching/backend/controller/cms/CmsEssayController.java index 01a92b7..02fa668 100644 --- a/src/main/java/com/teaching/backend/controller/cms/CmsEssayController.java +++ b/src/main/java/com/teaching/backend/controller/cms/CmsEssayController.java @@ -33,7 +33,7 @@ public class CmsEssayController { * @return */ @PostMapping("/add") - public BaseResponse addEssay(CmsEssay cmsEssay){ + public BaseResponse addEssay(@RequestBody CmsEssay cmsEssay){ return cmsEssayService.addEssay(cmsEssay); }