Commit 363a7a9c authored by yanzg's avatar yanzg

异常处理显示

parent 0b9f2fff
...@@ -53,12 +53,12 @@ public class WebAspect extends BaseRequestAspect { ...@@ -53,12 +53,12 @@ public class WebAspect extends BaseRequestAspect {
@Around(value = "webAspect()") @Around(value = "webAspect()")
public Object requestWebAround(ProceedingJoinPoint joinPoint) throws Throwable { public Object requestWebAround(ProceedingJoinPoint joinPoint) throws Throwable {
Log.threadBegin(); Log.threadBegin();
CookiesHelper.tokenInit();
// 用户数据库记录 // 用户数据库记录
ResponseResult responseResult = null; ResponseResult responseResult = null;
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
String name = joinPoint.getSignature().getName(); String name = joinPoint.getSignature().getName();
try { try {
CookiesHelper.tokenInit();
logger.info("[ {} ] request params is {}", name, joinPoint.getArgs()); logger.info("[ {} ] request params is {}", name, joinPoint.getArgs());
Object result = executeMethod(joinPoint, name); Object result = executeMethod(joinPoint, name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment