/**
* 增加问题记录
*/
@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-07-05 10:40:52 发布