| | |
| | | import com.ruoyi.system.api.model.AppMiniLoginDto; |
| | | import com.ruoyi.system.api.model.AppMiniLoginVo; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | |
| | | MemberGiftRecord memberGiftRecord = memberGiftRecordService.getById(verifyPrize); |
| | | return R.ok(memberGiftRecord); |
| | | } |
| | | |
| | | /** |
| | | * @description 积分变动 |
| | | * @author jqs |
| | | * @date 2023/7/12 17:04 |
| | | * @param integralChangeDto |
| | | * @return R |
| | | */ |
| | | @PostMapping("/changeIntegral") |
| | | public R signShare(@RequestBody IntegralChangeDto integralChangeDto) { |
| | | memberService.changeIntegral(integralChangeDto); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * @description 统计商户今日新增会员 |
| | | * @author jqs |
| | | * @date 2023/7/14 20:00 |
| | | * @param shopIdList |
| | | * @return R<Integer> |
| | | */ |
| | | @PostMapping("/getAreaNewMember") |
| | | public R<Integer> getAreaNewMember(@RequestBody List<Long> shopIdList) |
| | | { |
| | | Integer count = memberService.getAreaNewMember(shopIdList); |
| | | return R.ok(count); |
| | | } |
| | | } |