diff --git a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserProfileClientServiceImpl.java b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserProfileClientServiceImpl.java index ab5e55ec..0fd506f9 100644 --- a/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserProfileClientServiceImpl.java +++ b/rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/user/user/impl/UserProfileClientServiceImpl.java @@ -127,7 +127,8 @@ public class UserProfileClientServiceImpl implements UserProfileClientService { @Override public Timestamp read(JsonReader in) throws IOException { - if (in.peek() == null) { + if (in.peek() == JsonToken.NULL) { + in.nextNull(); return null; } long time = in.nextLong(); // 从时间戳反序列化