AuthModel.php 225 B

12345678910111213
  1. <?php
  2. namespace app\index\model;
  3. use think\Model;
  4. class AuthModel extends Model
  5. {
  6. protected $table='auth';
  7. public function getInfo($where){
  8. $info = $this->where($where)->find();
  9. return $info;
  10. }
  11. }