使用切面Around做數據修改遇到的一個問題

背景:由於業務上需要對前端傳過來的數據解密,以及返回的數據進行整體的加密操作,所以第一時間想到的是利用aop切面 過程: 1、先定義一個註解: 2、定義切面: 3、對於需要加密和解密的方法,添加註解 結果:程序運行報錯 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
相關文章
相關標籤/搜索