| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | @PostMapping("/user-point/saveUserPoint") |
| | | R saveUserPoint(@RequestBody UserPoint userPoint); |
| | | |
| | | |
| | | /** |
| | | * 获取积分变动明细 |
| | | * @param userPoint |
| | | * @return |
| | | */ |
| | | @PostMapping("/user-point/getUserPointList") |
| | | R<List<UserPoint>> getUserPointList(@RequestBody UserPoint userPoint); |
| | | |
| | | |
| | | /** |
| | | * 判断当天是否分享获得过积分 |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | | @PostMapping("/user-point/judgmentDailyShare") |
| | | R<Boolean> judgmentDailyShare(@RequestParam("appUserId") Long appUserId); |
| | | } |