提交 284c17aa 作者: zhenjie

动态发布-发放积分

上级 b25441fd
......@@ -26,6 +26,7 @@ import com.mmc.csf.release.gambit.vo.ForumGambitVO;
import com.mmc.csf.release.service.DynamicService;
import com.mmc.csf.release.service.WxApiService;
import com.mmc.csf.release.service.gambit.GambitService;
import com.mmc.csf.user.vo.ChangeUserPointVO;
import com.mmc.csf.user.vo.UserAccountVO;
import io.swagger.models.auth.In;
import org.apache.commons.collections4.CollectionUtils;
......@@ -153,6 +154,12 @@ public class DynamicServiceImpl implements DynamicService {
}
}
}
// 论坛通过发积分,暂时先发5积分
ChangeUserPointVO changePoint = new ChangeUserPointVO();
changePoint.setUserAccountId(userAccountId);
changePoint.setChangeType(3);
changePoint.setChangePoint(5);
userAppApi.changeUserPoint(changePoint, request.getHeader(TokenConstant.TOKEN));
} else {
forumDynamicDO.setCheckStatus(2);
dynamicDao.insertDynamic(forumDynamicDO);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论