@ResponseBody这个在spring注解是什么意思啊
@RequestMapping(value="/update")public@ResponseBodyMessageupdateExecute(@RequestBodyP...
@RequestMapping(value = "/update")
public @ResponseBody
Message updateExecute(@RequestBody PmsAttendance attendance,
HttpServletRequest request) throws Exception {
try {
setUserInfo(request, attendance, true);
att0001Service.updateAttendance(attendance);
return finishExecute(true);
} catch (Exception ex) {
logger.error("updateExecute error", ex);
throw ex;
}
}
像这个方法@ResponseBody在这里是什么意思啊,还有
(@RequestBody PmsAttendance attendance,
HttpServletRequest request)
又是什么意思呢 展开
public @ResponseBody
Message updateExecute(@RequestBody PmsAttendance attendance,
HttpServletRequest request) throws Exception {
try {
setUserInfo(request, attendance, true);
att0001Service.updateAttendance(attendance);
return finishExecute(true);
} catch (Exception ex) {
logger.error("updateExecute error", ex);
throw ex;
}
}
像这个方法@ResponseBody在这里是什么意思啊,还有
(@RequestBody PmsAttendance attendance,
HttpServletRequest request)
又是什么意思呢 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询