Session提供了两种方法加载数据,区别是什么?

ger和load
get加载数据时如果ID为空,则返回null
load加载数据时如果ID为空,则报异常

原文地址:https://www.cnblogs.com/Xuesk/p/6915277.html