freemarker中判断对象是否为空

<#if xxx?exists> 或则 <#if xxx??>
两个问号??最简单方便

原文地址:https://www.cnblogs.com/toSeeMyDream/p/4616265.html