在下面java代码里 IUser currentUser = ContextUtilgetCurrentUser; LocalDateTime now = LocalDateTimenow; String log = nowtoString; String userString = JSONtoJSONStringcurrentUser;
如果currentUser或者cmds为空,不会导致代码报错。但是在序列化过程中,如果currentUser或者cmds为空,那么对应的字符串userString和dataString将会是空字符串。
原文地址: https://www.cveoy.top/t/topic/i9ns 著作权归作者所有。请勿转载和采集!