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