colly_wyx
2018-04-28 066fffc3e2d8107df55dd41d4d50dbe5b69886b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * 广告业务类
 */
class Domain_Ad {
 
    public function __construct(){
        $this->model = new Model_Ad();
    }
 
    /**
     * 获取当前广告
     * @param  [type] is_open [description]
     * @return [type]        [description]
     */
    public function getAd(){
        return $this->model->get(array('is_open' => 1),array(), array('time_level' => -1), 1);
    }
 
}