springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java
@@ -55,7 +55,15 @@ R r = communityService.detailDynamic(id); if (R.isOk(r)) { //增加浏览记录 communityService.addDynamicUser(id,userId); R r1 = communityService.addDynamicUser(id, userId); Object data = r.getData(); ComActDynVO comActDynVO=JSONObject.parseObject(JSONObject.toJSONString(data),ComActDynVO.class); if (R.isOk(r1)) { comActDynVO.setIsAdd(1); }else{ comActDynVO.setIsAdd(0); } return R.ok(comActDynVO); } return r; }