aop只能适用于 protect 和public 修饰符修饰的方法
aop只能适用于 protect 和public 修饰符修饰的方法
aop只能适用于 protect 和public 修饰符修饰的方法
重要的事情说三遍
//使用aop后controller正确
@RequestMapping(value = "/selectStatusN", method = RequestMethod.POST)
**public** String selectStatusN(String billno, HttpSession session) {
//。。。。。
}
//使用aop后controller错误
@RequestMapping(value = "/selectList", method = RequestMethod.POST)
**private** String selectList(String billNo, HttpServletRequest request) {
//。。。。。
}