| | |
| | | return R.ok(activityGoodsGetVo); |
| | | } |
| | | |
| | | /** |
| | | * @description 开始活动 |
| | | * @author jqs |
| | | * @date 2023/7/12 20:30 |
| | | * @param activityId |
| | | * @return R |
| | | */ |
| | | @PostMapping("/startActivity") |
| | | public R startActivity(@RequestBody String activityId){ |
| | | activityService.startActivity(activityId); |
| | | return R.ok(); |
| | | } |
| | | |
| | | /** |
| | | * @description 结束活动 |
| | | * @author jqs |
| | | * @date 2023/7/12 20:30 |
| | | * @param activityId |
| | | * @return R |
| | | */ |
| | | @PostMapping("/endActivity") |
| | | public R endActivity(@RequestBody String activityId){ |
| | | activityService.endActivity(activityId); |
| | | return R.ok(); |
| | | } |
| | | } |