怎么将list集合转换为json数组 10
@Autowired(required=false)privateIThemeServicethemeService;privateThemetheme;privateL...
@Autowired(required=false)
private IThemeService themeService;
private Theme theme;
private List<Theme> list;
public String selectTheme(){
list=themeService.gettree();
return JSON;
}
这是action层的方法,求大神补充 展开
private IThemeService themeService;
private Theme theme;
private List<Theme> list;
public String selectTheme(){
list=themeService.gettree();
return JSON;
}
这是action层的方法,求大神补充 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询