| | |
| | | package com.ruoyi.common.encrypt.interceptor; |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import cn.hutool.core.util.ObjectUtil; |
| | | import com.ruoyi.common.core.utils.StringUtils; |
| | | import com.ruoyi.common.encrypt.annotation.EncryptField; |
| | | import com.ruoyi.common.encrypt.core.EncryptContext; |
| | |
| | | * @param sourceObject 待加密对象 |
| | | */ |
| | | private void decryptHandler(Object sourceObject) { |
| | | if (ObjectUtil.isNull(sourceObject)) { |
| | | return; |
| | | } |
| | | if (sourceObject instanceof Map<?, ?> map) { |
| | | map.values().forEach(this::decryptHandler); |
| | | return; |