Commit e1623e51 by guojuxing

新建临时账号到期时间解析容错

parent 5b84dcfd
......@@ -117,6 +117,7 @@ public class UserApiServiceImpl implements UserApiService {
try {
userDTO.setAccountDueDate(sdf.parse(userDTO.getAccountDueDateStr()));
} catch (ParseException e) {
userDTO.setAccountDueDate(new Date());
LOGGER.warn("新建临时账号到期时间解析:{}", e.getMessage(), e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment