Compare commits

..

No commits in common. "bd4998b73d414215ef77f47303c1f4267454897e" and "09dfd88a12596f0d520068306cb7d157a2f3ef65" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -43,8 +43,8 @@ public class ModelCommentController {
@ApiOperation(value = "模型点赞/取消")
@RepeatSubmit
@GetMapping("/modelLike/{modelId}")
public AjaxResult like(@PathVariable Long modelId) {
modelLikeService.like(modelId);
public AjaxResult like(@PathVariable Long imageId) {
modelLikeService.like(imageId);
return AjaxResult.success();
}

View File

@ -14,7 +14,6 @@
update_by,
update_time,
del_flag,
remark
from model_like where user_id = #{userId} and model_id = #{modelId}
remark where user_id = #{userId} and model_id = #{modelId}
</select>
</mapper>