Commit 760784e6 by 梅存智

我的投稿

parent 9654fcbb
...@@ -61,7 +61,12 @@ public class SitePCPublicationManageController { ...@@ -61,7 +61,12 @@ public class SitePCPublicationManageController {
@PostMapping("/list") @PostMapping("/list")
public Response<Page<PublicationVo>> list(@RequestBody PublicationParamVO vo) { public Response<Page<PublicationVo>> list(@RequestBody PublicationParamVO vo) {
try { try {
vo.setSiteId(ContextHolder.get().getSiteId()); RequestContext context = ContextHolder.get();
vo.setSiteId(context.getSiteId());
vo.setCreateById(context.getAccountId());
//添加我的投稿埋点
eventTrackApiClients.addEvent("event_publication",context.getAccountId());
return Response.ok(publicationManageFeignClients.list(vo)); return Response.ok(publicationManageFeignClients.list(vo));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
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