/** * 增加${comment} <#list params as param> * @param ${param.key} ${param.comment} */ @Before({POST.class}) @JwtCheckInterface({}) public void add${beanNameWithoutT}(${fullParameters}){ ${daoName}.add${beanNameWithoutT}(${parameters}); renderJson(RetKit.renderSuccess()); } /** * 删除${comment} <#list params as param> * @param ${param.key} ${param.comment} */ @Before({POST.class}) @JwtCheckInterface({}) @IsNumericInterface({"${key}"}) public void del${beanNameWithoutT}ById(${key_type} ${key}){ ${daoName}.del${beanNameWithoutT}ById(${key}); renderJson(RetKit.renderSuccess()); }