Compare commits
2 Commits
09dfd88a12
...
bd4998b73d
Author | SHA1 | Date |
---|---|---|
|
bd4998b73d | |
|
789cf9f3d9 |
|
@ -43,8 +43,8 @@ public class ModelCommentController {
|
|||
@ApiOperation(value = "模型点赞/取消")
|
||||
@RepeatSubmit
|
||||
@GetMapping("/modelLike/{modelId}")
|
||||
public AjaxResult like(@PathVariable Long imageId) {
|
||||
modelLikeService.like(imageId);
|
||||
public AjaxResult like(@PathVariable Long modelId) {
|
||||
modelLikeService.like(modelId);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
update_by,
|
||||
update_time,
|
||||
del_flag,
|
||||
remark where user_id = #{userId} and model_id = #{modelId}
|
||||
remark
|
||||
from model_like where user_id = #{userId} and model_id = #{modelId}
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue