123456789101112131415161718192021222324252627 |
- <?php
- namespace app\common\model\mysql;
- use think\Model;
- class Ry extends Model
- {
- protected $table = 't_ry';
-
- protected $pk = 'rybh';
- public function getUserInfoByRybh($rybh)
- {
- if (empty($rybh)) {
- return false;
- }
- return $this->where('rybh','=', $rybh)->find();
- }
- }
|