123456789101112 |
- <?php
- namespace app\common\model;
- use think\Model;
- // 资料
- class DatumIntro extends Model
- {
- public function urlArr()
- {
- return $this->hasMany('DatumUrl','datum_id')->field('id,datum_id,title,url,sort,is_vip,transmit_num,down_num,read_num')->where('is_deleted',0)->order('sort desc');
- }
- }
|