freemarker.template.TemplateException:Macro has no such argument:params

1、错误描述

      freemarker.template.TemplateException:Macro mainSelect has no such argument:params


2、错误原因

     在宏定义中,没有params这个参数,但是在运用时却有params参数


3、解决办法

      在宏定义加个params参数

原文地址:https://www.cnblogs.com/hzcya1995/p/13314767.html