摘要:
控制器 <?phpnamespace app\index\controller; use think\Db; class Index{ public function userlist() { $list=Db::name('users')->paginate(10,false, [ 'type' 阅读全文
摘要:
// 如果有HTTP_X_WAP_PROFILE则一定是移动设备
if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
{
return true;
} 阅读全文