AdSpaceModel::doAddAdSpace PHP Method

doAddAdSpace() public method

添加广告位数据
public doAddAdSpace ( array $data ) : boolean
$data array 广告位相关数据
return boolean 是否插入成功
    public function doAddAdSpace($data)
    {
        $data['display_order'] = $this->count();
        $res = $this->add($data);
        return (bool) $res;
    }