|
|
@ -44,4 +44,29 @@ public class AnswerAppletPostController { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查询预约列表 |
|
|
|
@ApiOperation(value="查询预约列表", notes="查询预约列表") |
|
|
|
@GetMapping(value = "/queryReservation") |
|
|
|
public Result<?> queryReservation(@RequestHeader("X-Access-Token") String token) { |
|
|
|
return answerAppletIndexService.queryReservation(token); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//查询预约详情 |
|
|
|
@ApiOperation(value="查询预约详情", notes="查询预约详情") |
|
|
|
@GetMapping(value = "/queryReservationDetail") |
|
|
|
public Result<?> queryReservationDetail(String id) { |
|
|
|
return answerAppletIndexService.queryReservationDetail(id); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//取消预约 |
|
|
|
@ApiOperation(value="取消预约", notes="取消预约") |
|
|
|
@GetMapping(value = "/cancelReservation") |
|
|
|
public Result<?> cancelReservation(@RequestHeader("X-Access-Token") String token,String id) { |
|
|
|
return answerAppletIndexService.cancelReservation(token,id); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |