GET 格式
@BusinessLog(action = "detail", actionDetail = "詳情查詢", actionMessageId = "detail")
@ApiOperation(value = "詳情查詢", notes = "詳情查詢", httpMethod = "GET")
@GetMapping(path = "/detail")
public ApiResponse detail(String eventId) {
return testService.detail(eventId);
}
POST 格式
@BusinessLog(action = "detail", actionDetail = "詳情查詢", actionMessageId = "detail")
@ApiOperation(value = "詳情查詢", notes = "詳情查詢", httpMethod = "POST")
@PostMapping("/detail")
public ApiResponse detail(@ApiParam(value = "詳情查詢請求參數") @RequestBody DetailReq detailReq) {
return testService.detail(detailReq);
}