| | |
| | | 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; |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * @param giftId |
| | | * @return R<MemberGiftRecord> |
| | | * @description 根据礼品id获取数据 |
| | | * @author jqs |
| | | * @date 2023/7/8 17:43 |
| | | */ |
| | | @PostMapping("/member/getVerifyPrizeByGiftId") |
| | | public R<MemberGiftRecord> getVerifyPrizeByGiftId(@RequestBody String giftId); |
| | | |
| | | |
| | | /** |
| | | * @param integralChangeDto |
| | | * @return R |
| | | * @description 积分变动 |
| | |
| | | public R verifyPrize(@RequestBody MerVerifyPrizeFinalDto merVerifyPrizeFinalDto); |
| | | |
| | | /** |
| | | * @param ageType |
| | | * @return R<List < Long>> |
| | | * @description |
| | | * @author jqs |
| | | * @date 2023/8/23 19:06 |
| | | * @param ageType |
| | | * @return R<List<Long>> |
| | | */ |
| | | @PostMapping("/member/listUserIdByAgeType") |
| | | public R<List<Long>> listUserIdByAgeType(@RequestBody Integer ageType); |
| | | |
| | | /** |
| | | * 手动添加用户积分 |
| | | * |
| | | * @param integral |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @PostMapping("/member/addIntegralRecord") |
| | | R addIntegralRecord(@RequestParam("integral") Integer integral, @RequestParam("userId") Long userId, @RequestParam("orderId") String orderId); |
| | | |
| | | /** |
| | | * 添加奖品数据 |
| | | * |
| | | * @param memberGiftRecord |
| | | * @return |
| | | */ |
| | | @PostMapping("/member/saveMemberGiftRecord") |
| | | R saveMemberGiftRecord(@RequestBody MemberGiftRecord memberGiftRecord); |
| | | |
| | | /** |
| | | * 修改会员数据 |
| | | * |
| | | * @param member |
| | | * @return |
| | | */ |
| | | @PostMapping("/member/editMember") |
| | | R editMember(@RequestBody Member member); |
| | | } |