/**
* 增加问题记录
*/
@ApiOperation("增加问题记录")
@RequestMapping(value = "/addTicketInfo", method = RequestMethod.POST)
public HttpResponse addTicketInfo(@RequestBody TicketVO ticketInfoVo,Long ticketTypeId,String ticketTypeName) {
HttpResponse response;
try {
ticketService.addTicketInfo(ticketInfoVo,ticketTypeId,ticketTypeName);
response = HttpResponse.getSuccess(ticketInfoVo);
} catch (HeraException e) {
LOGGER.error("增加问题记录异常error_code:{};error_msg:{};", e.getCode(), e.getDesc());
response = HttpResponse.getFailure( e.getDesc());
}
return response;
}
记一次postman传参数的坑
最新推荐文章于 2024-06-16 09:50:11 发布