public String selectAuthority() {
try {
modules = identityService.selectAuthority(pid);
role = identityService.getRole(role.getId());
operates = JSONUtil.serialize(identityService.getOperatesRoleIdAndModuleCode(role.getId(), pid));
} catch (Exception e) {
e.printStackTrace();
}
return SUCCESS;
}
为什么List<String>传到前台用EL表达式接收要转为字符串?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
3条回答 默认 最新
threenewbee 2016-07-02 15:34关注el表达式,既然是表达式,只能是字符串,二进制或者别的数据类型怎么能叫表达式呢,而且你这里返回值也是string。
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报