|
|
|
@@ -3,9 +3,7 @@ package com.iformall.aop; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.iformall.annotation.RedisCache; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
import com.iformall.domain.po.WxCUser; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.service.WxCUserTokenService; |
|
|
|
import com.iformall.utils.HashUtil; |
|
|
|
import com.iformall.utils.RedisLock; |
|
|
|
@@ -125,10 +123,7 @@ public class RedisCacheAspect { |
|
|
|
} catch (Throwable throwable) { |
|
|
|
log.error("CacheAspect proceed error , Illegal argument: {} in {}.{}()", Arrays.toString(jp.getArgs()), |
|
|
|
jp.getSignature().getDeclaringTypeName(), jp.getSignature().getName(), throwable); |
|
|
|
if (throwable instanceof MallinkException) { |
|
|
|
throw throwable; |
|
|
|
} |
|
|
|
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR); |
|
|
|
throw throwable; |
|
|
|
} finally { |
|
|
|
redisLock.unlock(lockKey, timeStr); |
|
|
|
} |
|
|
|
|