| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 体验活动 |
| | |
| | | * @param |
| | | * @return |
| | | */ |
| | | // R getList(int pageNum, int pageSize, |
| | | // String goodName, String goodType, String id); |
| | | @GetMapping("/experienceGetList") |
| | | public R experienceGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "activityName", required = false) String activityName, |
| | | @RequestParam(value = "activityType", required = false) String activityType, |
| | | @RequestParam(value = "starTime", required = false) Date starTime, |
| | | @RequestParam(value = "endTime", required = false) Date endTime) |
| | | { |
| | | return activityService.getList(pageNum,pageSize,activityName,activityType,starTime,endTime); |
| | | } |
| | | |
| | | @GetMapping("/experienceGetDetails") |
| | | public R experienceGetDetails(@RequestParam("id") String id) { |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 填写反馈接口 |
| | | * @return |
| | | */ |
| | | @GetMapping("/applyExperienceFilIn") |
| | | public R filIn(@RequestParam("userId") String userId, |
| | | @RequestParam("activityId") String activityId, |
| | | @RequestParam("content") String content) |
| | | { |
| | | return applyExperienceService.filIn(userId,activityId,content); |
| | | } |
| | | |
| | | } |