回给前端的邮箱电话不解密
This commit is contained in:
parent
15d5863132
commit
a563b89b91
|
|
@ -53,13 +53,13 @@ public class DataEnDecryptInterceptor implements Interceptor {
|
|||
MappedStatement mappedStatement = getMappedStatement(resultSetHandler);
|
||||
Object result = invocation.proceed();
|
||||
|
||||
String sqlId = mappedStatement.getId();
|
||||
if (sqlId.contains(USER_MAPPER_ID))
|
||||
{
|
||||
decryUserObject(result);
|
||||
} else if (sqlId.contains(DEPT_MAPPER_ID)){
|
||||
decryDeptObject(result);
|
||||
}
|
||||
// String sqlId = mappedStatement.getId();
|
||||
// if (sqlId.contains(USER_MAPPER_ID))
|
||||
// {
|
||||
// decryUserObject(result);
|
||||
// } else if (sqlId.contains(DEPT_MAPPER_ID)){
|
||||
// decryDeptObject(result);
|
||||
// }
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue