From cbf825f4e63e77241a11ec90841637991e43940f Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期六, 24 七月 2021 18:11:28 +0800
Subject: [PATCH] Merge branch 'test' into 'master'

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java
index e692b2f..ad14ab5 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoService.java
@@ -2,6 +2,7 @@
 
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO;
+import com.panzhihua.common.model.dtos.community.GrantRewardDTO;
 import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO;
 import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO;
 import com.panzhihua.common.model.dtos.partybuilding.ComPbServiceTeamDTO;
@@ -91,5 +92,27 @@
      */
     R easyPhotoStatistics(Long communityId);
 
+    /**
+     * 随手拍发放奖励
+     * @param grantRewardDTO    请求参数
+     * @return  发放结果
+     */
+    R grantReward(GrantRewardDTO grantRewardDTO);
+
+    /**
+     * 获取最新活动和用户最新收益
+     * @param userId    用户id
+     * @param communityId   社区id
+     * @return  最新活动和用户最新收益
+     */
+    R getUserReward(Long userId,Long communityId);
+
+    /**
+     * 读取用户随手拍奖励
+     * @param userId    用户id
+     * @return  读取结果
+     */
+    R readUserReward(Long userId,Long communityId);
+
 
 }

--
Gitblit v1.7.1