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