关于我们的添加的问题

master
wenyu441069198 3 months ago
parent e6f2c3401d
commit 639c5af6c1
  1. 2
      src/main/java/com/teaching/backend/controller/cms/CmsEssayController.java

@ -33,7 +33,7 @@ public class CmsEssayController {
* @return * @return
*/ */
@PostMapping("/add") @PostMapping("/add")
public BaseResponse<String> addEssay(CmsEssay cmsEssay){ public BaseResponse<String> addEssay(@RequestBody CmsEssay cmsEssay){
return cmsEssayService.addEssay(cmsEssay); return cmsEssayService.addEssay(cmsEssay);
} }

Loading…
Cancel
Save