| | |
| | | } |
| | | |
| | | /** |
| | | * 获取志愿者详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("getVolunteerById") |
| | | R getVolunteerById(@RequestParam("id")Long id){ |
| | | return comMngVolunteerMngService.getVolunteerById(id); |
| | | } |
| | | |
| | | /** |
| | | * 删除志愿者 |
| | | * @param comMngVolunteerMngVO 手机号 |
| | | * @return 删除结果 |
| | |
| | | @PostMapping("timedtaskactactivityall") |
| | | R timedTaskActActivityAll(){ |
| | | return comActActivityService.timedTaskActActivityAll(); |
| | | } |
| | | |
| | | /** |
| | | * 定时任务刷新微心愿的状态 |
| | | * @return 更新结果 |
| | | */ |
| | | @PostMapping("timedtaskactmicrowish") |
| | | R timedTaskActMicroWishAll(){ |
| | | return comActMicroWishService.timedTaskActMicroWishAll(); |
| | | } |
| | | |
| | | /** |
| | |
| | | return comActQuestnaireService.usersAnsweQuestnaire(usersAnswerQuestnaireVO,userId); |
| | | } |
| | | |
| | | /** |
| | | * 删除微心愿 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("deletemicrowish") |
| | | public R deletemicrowish(@RequestParam("id") Long id){ |
| | | return comActMicroWishService.deleteMicroWish(id); |
| | | } |
| | | } |