代码拉取完成,页面将自动刷新
* 获取用户列表
*
*/
function GetUser()
{
$config = self::config();
return Db::name($config['db'])->whereRaw($config['whereRaw'])->field($config['field'])->select();
}
配置文件(tpflow.php)“user”配置中无“whereRaw”选项,7.0.7中的AdapteeUser.php增加了该选项。需要更新配置文件用例。