MCPcopy Create free account
hub / github.com/diyhi/bbs / addLike

Method addLike

src/main/java/cms/controller/frontend/LikeController.java:59–64  ·  view source on GitHub ↗

点赞 添加 @param itemId 项目Id 例如:话题Id @param module 模块 @return

(Long itemId, Integer module)

Source from the content-addressed store, hash-verified

57 * @return
58 */
59 @RoleAnnotation(resourceCode = ResourceEnum._4001000)
60 @DynamicRouteTarget(route = DynamicRouteEnum.DEFAULT_1040100)
61 @RequestMapping(value = "/user/control/like/add", method = RequestMethod.POST)
62 public Map<String,Object> addLike(Long itemId, Integer module) {
63 return likeClientService.addLike(itemId, module);
64 }
65 /**
66 * 删除点赞
67 * @param likeId 点赞Id 只用本参数或下面两个参数

Callers

nothing calls this directly

Calls 1

addLikeMethod · 0.65

Tested by

no test coverage detected