带参方式:
public void add(Dict dict){ dictService.save(dict); redirect("/dict"); }
发现dict是空对象:{}
传统方式:
public void add(){ Dict dict = getBean(Dict.class, ""); dictService.save(dict); redirect("/dict"); }
一切正常
why?
public void add(@Para("")Dict dict)