<?php namespace app\index\model; use think\Model; class AuthCompanyModel extends Model { protected $table='auth_company'; public function getInfo($where){ $info = $this->where($where)->find(); return $info; } }