41 lines
991 B
PHP
41 lines
991 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Notes:素材模板
|
|
* Created on: 2021/9/30 12:45
|
|
* Created by: dengbw
|
|
*/
|
|
class Material_template_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_material_template';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:素材分类
|
|
* Created on: 2021/9/15 10:25
|
|
* Created by: dengbw
|
|
* @return array
|
|
*/
|
|
public function typeAry()
|
|
{
|
|
return array(4 => '朋友圈蓄客海报', 1 => '朋友圈蓄客视频');
|
|
//return array(4 => '朋友圈蓄客海报', 1 => '朋友圈蓄客视频', 2 => '朋友圈蓄客轮播海报', 3 => '朋友圈蓄客文案');
|
|
}
|
|
|
|
/**
|
|
* Notes:状态
|
|
* Created on: 2021/9/15 10:25
|
|
* Created by: dengbw
|
|
* @return array
|
|
*/
|
|
public function statusAry()
|
|
{
|
|
return array(1 => '正常', 0 => '下架', -1 => '删除');
|
|
}
|
|
}
|