Commit 40ac1a1a by 王祖波

点赞入参形式

parent 5692d3f6
......@@ -288,7 +288,7 @@ public class ContentMaterialController {
*/
@ResponseBody
@RequestMapping("/like-material")
public RestResponse<Integer> likeMaterial(ContentMaterialLikeQO likeQO) {
public RestResponse<Integer> likeMaterial(@RequestBody ContentMaterialLikeQO likeQO) {
ContentMaterialLikeQDTO likeQDTO = EntityUtil.changeEntityByOrika(ContentMaterialLikeQDTO.class, likeQO);
ServiceResponse<Integer> response = contentMaterialApiService.likeMaterial(likeQDTO);
if (!response.isSuccess()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment