@@ -117,7 +117,7 @@ func (r *ErmcpUserModel) DecryptField(decryptAddress bool) {
r.MOBILE = fd(r.MOBILE)
r.TELPHONE = fd(r.TELPHONE)
- if decryptAddress {
+ if decryptAddress && len(r.ADDRESS) != 0 { // 地址不为空
r.ADDRESS = fd(r.ADDRESS)
}